2019-01-19 15:31:26 +08:00
|
|
|
package com.central;
|
|
|
|
|
|
2019-08-09 00:46:18 +08:00
|
|
|
import com.central.common.ribbon.annotation.EnableFeignInterceptor;
|
2019-01-19 15:31:26 +08:00
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
|
|
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author zlt
|
|
|
|
|
*/
|
|
|
|
|
@EnableFeignClients
|
2019-08-09 00:46:18 +08:00
|
|
|
@EnableFeignInterceptor
|
2019-01-19 15:31:26 +08:00
|
|
|
@EnableDiscoveryClient
|
|
|
|
|
@EnableRedisHttpSession
|
|
|
|
|
@SpringBootApplication
|
|
|
|
|
public class UaaServerApp {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(UaaServerApp.class, args);
|
|
|
|
|
}
|
|
|
|
|
}
|