2019-01-19 15:31:26 +08:00
|
|
|
package com.central;
|
|
|
|
|
|
2021-08-08 22:13:11 +08:00
|
|
|
import com.central.common.lb.annotation.EnableFeignInterceptor;
|
2023-11-10 14:59:27 +08:00
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
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;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @author zlt
|
|
|
|
|
*/
|
|
|
|
|
@EnableFeignClients
|
2023-11-10 14:59:27 +08:00
|
|
|
@MapperScan(basePackages = "com.central.oauth.mapper")
|
2019-08-09 00:46:18 +08:00
|
|
|
@EnableFeignInterceptor
|
2019-01-19 15:31:26 +08:00
|
|
|
@EnableDiscoveryClient
|
|
|
|
|
@SpringBootApplication
|
|
|
|
|
public class UaaServerApp {
|
|
|
|
|
public static void main(String[] args) {
|
2021-08-08 22:13:11 +08:00
|
|
|
SpringApplication application = new SpringApplication(UaaServerApp.class);
|
|
|
|
|
application.setEnvironmentPrefix("zlt-uaa");
|
|
|
|
|
application.run(args);
|
2019-01-19 15:31:26 +08:00
|
|
|
}
|
|
|
|
|
}
|