|
@@ -316,10 +316,10 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
kuaiShouVideoGet.setMaterialType(type);
|
|
|
}
|
|
|
|
|
|
- // kuaiShouVideoGetService.saveOrUpdate(kuaiShouVideoGet);
|
|
|
+ // kuaiShouVideoGetService.saveOrUpdate(kuaiShouVideoGet);
|
|
|
videoGets.add(kuaiShouVideoGet);
|
|
|
}
|
|
|
- kuaiShouVideoGetService.replaceBatch(videoGets);
|
|
|
+ kuaiShouVideoGetService.replaceBatch(videoGets);
|
|
|
getVideoListByPage(token, startDate, endDate, page + 1);
|
|
|
|
|
|
} catch (Exception e) {
|
|
@@ -3185,6 +3185,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
String result = HttpUtils.httpPostRequest(url, param, headers);
|
|
|
|
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
|
+ log.info("返回信息:{}", resultJson);
|
|
|
Integer code = resultJson.getInteger("code");
|
|
|
String message = resultJson.getString("message");
|
|
|
if (null == code || code != 0) {
|
|
@@ -3215,7 +3216,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
if (!Check.isNull(type)) {
|
|
|
kuaiShouImageGet.setMaterialType(type);
|
|
|
}
|
|
|
-
|
|
|
kuaiShouImageGet.setCreateTime(new Date());
|
|
|
kuaiShouImageGet.setUpdateTime(new Date());
|
|
|
kuaiShouImageGetService.saveOrUpdate(kuaiShouImageGet);
|