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

25 lines
807 B
Java

package com.central;
import com.central.common.lb.annotation.EnableFeignInterceptor;
import org.mybatis.spring.annotation.MapperScan;
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
@MapperScan(basePackages = "com.central.oauth.mapper")
@EnableFeignInterceptor
@EnableDiscoveryClient
@SpringBootApplication
public class UaaServerApp {
public static void main(String[] args) {
SpringApplication application = new SpringApplication(UaaServerApp.class);
application.setEnvironmentPrefix("zlt-uaa");
application.run(args);
}
}