|
@@ -21,7 +21,7 @@ public class WxMsgTask {
|
|
/**
|
|
/**
|
|
* 3分钟执行一次
|
|
* 3分钟执行一次
|
|
*/
|
|
*/
|
|
- //@Scheduled(fixedRate = 180000)
|
|
|
|
|
|
+ @Scheduled(fixedRate = 180000)
|
|
public void check() {
|
|
public void check() {
|
|
List<WxSendMsg> list = wxSendMsgService.list();
|
|
List<WxSendMsg> list = wxSendMsgService.list();
|
|
list.forEach(wxSendMsg -> {
|
|
list.forEach(wxSendMsg -> {
|