Commit d651eb99 authored by shiyu's avatar shiyu

暂停商品上新短信通知

parent df54b458
...@@ -63,8 +63,11 @@ public class NewItemNoticeJob { ...@@ -63,8 +63,11 @@ public class NewItemNoticeJob {
/** /**
* 每天晚上八点执行一次 * 每天晚上八点执行一次
*/ */
@Scheduled(cron = "0 0 20 * * ?") // @Scheduled(cron = "0 0 20 * * ?")
public void execute() { public void execute() {
if (true) {
return;
}
if ("dev".equals(env)) { if ("dev".equals(env)) {
logger.info(">>>>>>>>>>>>>>>>>>>>>>> dev环境, 不执行发送商品上新通知定时作业<<<<<<<<<<<<<<<<<<<<<"); logger.info(">>>>>>>>>>>>>>>>>>>>>>> dev环境, 不执行发送商品上新通知定时作业<<<<<<<<<<<<<<<<<<<<<");
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment