|
@@ -226,7 +226,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
}
|
|
}
|
|
var kuaiShouVideoGet = JSONObject.toJavaObject(detailJson, KuaiShouVideoGet.class);
|
|
var kuaiShouVideoGet = JSONObject.toJavaObject(detailJson, KuaiShouVideoGet.class);
|
|
kuaiShouVideoGet.setId(token.getAccountId() + kuaiShouVideoGet.getPhotoId());
|
|
kuaiShouVideoGet.setId(token.getAccountId() + kuaiShouVideoGet.getPhotoId());
|
|
-
|
|
|
|
kuaiShouVideoGet.setAccountId(token.getAccountId());
|
|
kuaiShouVideoGet.setAccountId(token.getAccountId());
|
|
kuaiShouVideoGet.setStatDate(detailJson.getDate("upload_time"));
|
|
kuaiShouVideoGet.setStatDate(detailJson.getDate("upload_time"));
|
|
kuaiShouVideoGet.setUpdateTime(new Date());
|
|
kuaiShouVideoGet.setUpdateTime(new Date());
|
|
@@ -2151,6 +2150,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
videoGet.setUrl(dataJson.getString("url"));
|
|
videoGet.setUrl(dataJson.getString("url"));
|
|
videoGet.setPhotoId(dataJson.getString("photo_id"));
|
|
videoGet.setPhotoId(dataJson.getString("photo_id"));
|
|
videoGet.setCoverUrl(dataJson.getString("cover_url"));
|
|
videoGet.setCoverUrl(dataJson.getString("cover_url"));
|
|
|
|
+ videoGet.setStatus(dataJson.getInteger("new_status"));
|
|
Integer type = MaterialEnum.getTypeBySize(dataJson.getInteger("width"), dataJson.getInteger("height"));
|
|
Integer type = MaterialEnum.getTypeBySize(dataJson.getInteger("width"), dataJson.getInteger("height"));
|
|
if (!Check.isNull(type)) {
|
|
if (!Check.isNull(type)) {
|
|
videoGet.setMaterialType(type);
|
|
videoGet.setMaterialType(type);
|