ソースを参照

增加排序日志

xueyiming 7 ヶ月 前
コミット
d93483bb3d

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

@@ -232,7 +232,6 @@ public class CoreServiceImpl implements CoreService {
                 while (true) {
                     try {
                         MatchContent matchContent = queue.take();
-                        log.info("matchContent={}", matchContent);
                         MatchVideo content = contentService.getContent(matchContent.getSourceId(), matchContent.getGhId(), 2);
                         if (content != null) {
                             Integer contentStatus = content.getContentStatus();
@@ -421,6 +420,7 @@ public class CoreServiceImpl implements CoreService {
                 articleSortRequest.setPushType(planAccount.getPushType());
 
                 ArticleSortResponse articleSortResponse = sortService.publishArticleSort(articleSortRequest);
+
                 if (articleSortResponse == null || articleSortResponse.getData() == null) {
                     continue;
                 }

+ 1 - 0
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/SortServiceImpl.java

@@ -28,6 +28,7 @@ public class SortServiceImpl implements SortService {
             try {
                 retryTimes--;
                 String res = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(apiUrl, JSON.toJSONString(request));
+                log.info("publishArticleSort res={}", res);
                 response = JSON.parseObject(res, ArticleSortResponse.class);
                 if (Objects.nonNull(response) && Objects.nonNull(response.getData())) {
                     response.setSuccessful(true);