package com.css.simulation.resource; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.scheduling.annotation.EnableAsync; import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity; import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer; import org.springframework.transaction.annotation.EnableTransactionManagement; @SpringBootApplication @EnableFeignClients @EnableResourceServer @EnableTransactionManagement @EnableAsync @EnableGlobalMethodSecurity(prePostEnabled=true) public class Application { public static void main(String[] args) { SpringApplication.run(Application.class, args); System.out.println("-------------启动成功----------------"); } }