Browse Source

修改报警

xueyiming 7 months ago
parent
commit
3427bf58b3

+ 3 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CoreServiceImpl.java

@@ -443,7 +443,9 @@ public class CoreServiceImpl implements CoreService {
                 if (CollectionUtils.isEmpty(articleSortResponse.getData().getRank_list())
                         || articleSortResponse.getData().getRank_list().size() < planAccount.getPublishPreMinNum()) {
                     log.info("rank_list = {}", articleSortResponse.getData().getRank_list());
-                    LarkRobotUtil.sendMessage("排序结果不足");
+                    String message = String.format("排序结果不足 planId=%s accountName=%s num=%s",
+                            planAccount.getPlanId(), planAccount.getAccountName(), articleSortResponse.getData().getRank_list().size());
+                    LarkRobotUtil.sendMessage(message);
                     continue;
                 }
                 //排序结束