yumeng 4 年 前
コミット
5baf1ebeaf

+ 3 - 0
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/KuaiShouReportDailyMaterialServiceImpl.java

@@ -62,6 +62,7 @@ public class KuaiShouReportDailyMaterialServiceImpl extends ServiceImpl<KuaiShou
 
         String result = HttpUtils.httpPostRequest(url, param, headers);
         JSONObject resultJson = JSONObject.parseObject(result);
+        log.info("快手返回数据:",resultJson);
         if (Check.isNull(resultJson)) {
             return;
         }
@@ -89,8 +90,10 @@ public class KuaiShouReportDailyMaterialServiceImpl extends ServiceImpl<KuaiShou
                 material.setSignature(videoGetvo.getSignature());
             }
             material.setAccountId(accountId);
+
             addList.add(material);
         }
+        log.info("addList:",addList);
         dailyMaterialMapper.batchReplace(addList);
         getMaterialReportByAccountIdAndStatDate(accountId, token, startDate, endDate, page + 1);
     }