浏览代码

增加报警

xueyiming 1 年之前
父节点
当前提交
5dcbeae70a

+ 3 - 1
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/XxlJobService.java

@@ -297,7 +297,9 @@ public class XxlJobService {
         }
     }
 
-    public void alertPushMessageJob(String dateStr) {
+    @XxlJob("migrateArticleRootSourceId")
+    public ReturnT<String> alertPushMessageJob(String param) {
         LarkRobotUtil.sendMessage("测试报警");
+        return ReturnT.SUCCESS;
     }
 }