AuthCenterApplication.java 527 字节
Newer Older
M
ManongJu 已提交
1 2 3 4
package com.microservice.skeleton.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
M
ManongJu 已提交
5
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
M
SSO  
ManongJu 已提交
6
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
M
ManongJu 已提交
7 8

@SpringBootApplication
M
SSO  
ManongJu 已提交
9
@EnableDiscoveryClient
M
ManongJu 已提交
10 11 12 13 14 15
public class AuthCenterApplication {

	public static void main(String[] args) {
		SpringApplication.run(AuthCenterApplication.class, args);
	}
}