提交 ee3353c0 编写于 作者: 小傅哥's avatar 小傅哥

feat:应用入口

上级 7488ce52
...@@ -4,10 +4,11 @@ import org.springframework.beans.factory.annotation.Configurable; ...@@ -4,10 +4,11 @@ import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication @SpringBootApplication
@Configurable @Configurable
@EnableDiscoveryClient @EnableScheduling
public class Application { public class Application {
public static void main(String[] args) { public static void main(String[] args) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册