소스 검색

修改报警

xueyiming 11 달 전
부모
커밋
cb9721d617
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/local/impl/CoreServiceImpl.java

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

@@ -423,7 +423,8 @@ public class CoreServiceImpl implements CoreService {
 
                 if (articleSortResponse == null || articleSortResponse.getData() == null) {
                     log.info("articleSortResponse={}", articleSortResponse);
-                    LarkRobotUtil.sendMessage("排序结果为空");
+                    String message = String.format("排序结果为空 planId=%s accountName=%s", planAccount.getPlanId(), planAccount.getAccountName());
+                    LarkRobotUtil.sendMessage(message);
                     continue;
                 }
                 ArticleSortResponseData data = articleSortResponse.getData();