yumeng 1 năm trước cách đây
mục cha
commit
db6d3e41c8

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

@@ -187,12 +187,12 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
             clipCooperation.setClipGmv30d(jsonObject.getString("clipGmv30d"));
             clipCooperation.setAuthItemGmv30d(jsonObject.getString("authItemGmv30d"));
             clipCooperation.setStatDate(statDate);
-           /* JSONObject getData = this.getClipData(jsonObject.getLong("clipId"), cookie);
+            JSONObject getData = this.getClipData(jsonObject.getLong("clipId"), cookie);
             if (!Check.isNull(getData)) {
                 clipCooperation.setVideoCount(getData.getString("videoCount"));
                 clipCooperation.setVideoShow(getData.getString("videoShow"));
+                Thread.sleep(60 * 1000);
             }
-*/
             adds.add(clipCooperation);
 
 
@@ -267,6 +267,7 @@ public class JiaoYangFenXiaoServiceImpl implements IJiaoYangFenXiaoService {
         String postUrl = "https://cps.kwaixiaodian.com/gateway/distribute/platform/recreate/leader/clip/cooperation/detail/export";
         String resultStr = HttpUtils.httpPostRequest(postUrl, params, headers);
         JSONObject result = JSONObject.parseObject(resultStr);
+        log.info("骄阳获取二创返回结果:{}", result);
         Integer code = result.getInteger("result");
         if (code == 1) {
             JSONObject data = result.getJSONObject("data");