|
@@ -359,6 +359,9 @@ public class MQTask implements InitializingBean {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 保持百胜系统cookie的活性(每分钟执行一次)
|
|
|
+ */
|
|
|
@SuppressWarnings(value = {"unchecked", "rawtypes"})
|
|
|
@Scheduled(cron = "0 0/1 * * * ?")
|
|
|
public void selectEfastOrder() {
|
|
@@ -377,8 +380,11 @@ public class MQTask implements InitializingBean {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 电动牙刷商城更换刷头提示(每小时执行一次)
|
|
|
+ */
|
|
|
@SuppressWarnings(value = {"unchecked", "rawtypes"})
|
|
|
- @Scheduled(cron = "0 0/1 * * * ?")
|
|
|
+ @Scheduled(cron = "0 0 0/1 * * ? *")
|
|
|
public void updateToothHint() {
|
|
|
//获取更换刷头时间间隔
|
|
|
ShopSystemRule rule = systemService.selectOneShopRuleById(245);
|