Files
gofly-platform-services/zlt-uaa/src/main/java/com/central/UaaServerApp.java
T

25 lines
863 B
Java
Raw Normal View History

2019-01-19 15:31:26 +08:00
package com.central;
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(basePackages = {"com.central", "com.zlt.wechat.feign"})
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) {
SpringApplication application = new SpringApplication(UaaServerApp.class);
application.setEnvironmentPrefix("zlt-uaa");
application.run(args);
2019-01-19 15:31:26 +08:00
}
}