21 lines
675 B
Java
21 lines
675 B
Java
|
|
package com.xjrsoft.auth;
|
|||
|
|
|
|||
|
|
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.context.annotation.ComponentScan;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 启动:Sa-SSO Server端
|
|||
|
|
* @author Zexy
|
|||
|
|
*/
|
|||
|
|
@SpringBootApplication
|
|||
|
|
@EnableDiscoveryClient
|
|||
|
|
@EnableFeignClients(basePackages = "com.xjrsoft")
|
|||
|
|
@ComponentScan(value = "com.xjrsoft")
|
|||
|
|
public class AuthApplication {
|
|||
|
|
public static void main(String[] args) {
|
|||
|
|
SpringApplication.run(AuthApplication.class, args);
|
|||
|
|
}
|
|||
|
|
}
|