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