提交 1cc7d32c 作者: zhenjie

添加定时任务配置

上级 0349ee5f
...@@ -3,8 +3,10 @@ package com.mmc.oms; ...@@ -3,8 +3,10 @@ package com.mmc.oms;
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.openfeign.EnableFeignClients; import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
@SpringBootApplication @SpringBootApplication
@EnableScheduling
@EnableFeignClients(basePackages = "com.mmc.oms.feign") @EnableFeignClients(basePackages = "com.mmc.oms.feign")
public class OmsApplication { public class OmsApplication {
......
...@@ -70,5 +70,5 @@ pms: ...@@ -70,5 +70,5 @@ pms:
ims: ims:
url: https://test.iuav.shop/release/ url: https://test.iuav.shop/release/
scheduling:
enabled: true
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论