|
|
@@ -236,7 +236,7 @@ public class ContentServiceImpl implements ContentService {
|
|
|
|
|
|
if (articleSortResponse == null || articleSortResponse.getData() == null) {
|
|
|
log.info("articleSortResponse={}", articleSortResponse);
|
|
|
- String message = String.format("排序结果为空 planId=%s accountName=%s", planAccount.getPlanId(), planAccount.getAccountName());
|
|
|
+ String message = String.format("排序结果为空 \nplanId=%s \naccountName=%s", planAccount.getPlanId(), planAccount.getAccountName());
|
|
|
LarkRobotUtil.sendMessage(message);
|
|
|
return new ArrayList<>();
|
|
|
}
|
|
|
@@ -256,7 +256,7 @@ public class ContentServiceImpl implements ContentService {
|
|
|
if (CollectionUtils.isEmpty(articleSortResponse.getData().getRank_list())
|
|
|
|| articleSortResponse.getData().getRank_list().size() < (planAccount.getPublishPreMinNum() - excludeContentSum)) {
|
|
|
log.info("rank_list = {}", articleSortResponse.getData().getRank_list());
|
|
|
- String message = String.format("排序结果不足 planId=%s accountName=%s num=%s",
|
|
|
+ String message = String.format("排序结果不足 \nplanId=%s \naccountName=%s \nnum=%s",
|
|
|
planAccount.getPlanId(), planAccount.getAccountName(), articleSortResponse.getData().getRank_list().size());
|
|
|
LarkRobotUtil.sendMessage(message);
|
|
|
// 清除待发布缓存,成功后异步触发一次 /recommend 重建数据
|