提交 82a0c3ec 编写于 作者: S smallchill

🎉 3.0.1.RELEASE 架构升级适配 SpringCloud 2020.0.1

上级 d4004832
......@@ -15,9 +15,10 @@
*/
package org.springblade.gateway;
import org.springblade.core.launch.constant.AppConstant;
import org.springblade.core.launch.BladeApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springblade.core.launch.constant.AppConstant;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
......@@ -26,7 +27,8 @@ import org.springframework.scheduling.annotation.EnableScheduling;
* @author Chill
*/
@EnableScheduling
@SpringCloudApplication
@EnableDiscoveryClient
@SpringBootApplication
public class GateWayApplication {
public static void main(String[] args) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册