|
|
|
@ -37,17 +37,17 @@ public class JdGoodsSchedule { |
|
|
|
|
|
|
|
|
|
@Resource |
|
|
|
|
private JdService jdService; |
|
|
|
|
/* |
|
|
|
|
//每10分钟执行一次
|
|
|
|
|
@Scheduled(cron = "0 0/10 * * * ?") |
|
|
|
|
public void etcCarMsg() { |
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
jdService.deleteMsg(); |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("HighUserController --> findByUserId() error!", e); |
|
|
|
|
} |
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
// //每10分钟执行一次
|
|
|
|
|
// @Scheduled(cron = "0 0/10 * * * ?")
|
|
|
|
|
// public void etcCarMsg() {
|
|
|
|
|
// try {
|
|
|
|
|
//
|
|
|
|
|
// jdService.deleteMsg();
|
|
|
|
|
//
|
|
|
|
|
// } catch (Exception e) {
|
|
|
|
|
// log.error("HighUserController --> findByUserId() error!", e);
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|