|
@@ -42,7 +42,7 @@ public class SystemMsgJob {
|
|
|
/**
|
|
|
* 定时推送公告-取消公告-修改公告状态,不想污染日志,使用jdbc
|
|
|
*/
|
|
|
- // @Scheduled(cron = "0/10 * * * * ?")
|
|
|
+ @Scheduled(cron = "0/10 * * * * ?")
|
|
|
public void autoUpdateMsgStatus(){
|
|
|
// 本地环境跳过执行(可添加日志输出)
|
|
|
if (!schedulerEnabled) return;
|