|
@@ -212,6 +212,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
}
|
|
|
String result = HttpUtils.httpPostRequest(url, param, headers);
|
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
|
+ System.err.println(resultJson);
|
|
|
if (Check.isNull(resultJson)) {
|
|
|
return;
|
|
|
|
|
@@ -234,6 +235,10 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
}
|
|
|
for (int i = 0; i < details.size(); i++) {
|
|
|
var detailJson = details.getJSONObject(i);
|
|
|
+ Integer source = detailJson.getInteger("source");
|
|
|
+ if (source == 2) {
|
|
|
+ continue;
|
|
|
+ }
|
|
|
KuaiShouVideoGet byId = kuaiShouVideoGetService.getById(token.getAccountId() + detailJson.getString("photo_id"));
|
|
|
if (!Check.isNull(byId)) {
|
|
|
continue;
|