yumeng 4 år sedan
förälder
incheckning
1f4eb77b16

+ 0 - 16
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/KuaishouInterfaceServiceImpl.java

@@ -224,14 +224,8 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
                 if (!Check.isNull(byId)) {
                     continue;
                 }
-                detailJson.put("status", detailJson.getInteger("new_status"));
-                if (!Check.isNull(detailJson.getJSONArray("photo_tag"))) {
-                    detailJson.put("material_tag", detailJson.getJSONArray("photo_tag").toJSONString());
-                }
-                detailJson.put("material_title", detailJson.getString("photo_name"));
                 var kuaiShouVideoGet = JSONObject.toJavaObject(detailJson, KuaiShouVideoGet.class);
                 kuaiShouVideoGet.setId(token.getAccountId() + kuaiShouVideoGet.getPhotoId());
-
                 kuaiShouVideoGet.setAccountId(token.getAccountId());
                 kuaiShouVideoGet.setStatDate(detailJson.getDate("upload_time"));
                 kuaiShouVideoGet.setUpdateTime(new Date());
@@ -1514,11 +1508,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
                                 if (!Check.isNull(byId)) {
                                     continue;
                                 }
-                                detailJson.put("status", detailJson.getInteger("new_status"));
-                                if (!Check.isNull(detailJson.getJSONArray("photo_tag"))) {
-                                    detailJson.put("material_tag", detailJson.getJSONArray("photo_tag").toJSONString());
-                                }
-                                detailJson.put("material_title", detailJson.getString("photo_name"));
                                 var kuaiShouVideoGet = JSONObject.toJavaObject(detailJson, KuaiShouVideoGet.class);
                                 kuaiShouVideoGet.setId(accountId + photoId);
 
@@ -2895,11 +2884,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
                 kuaiShouVideoGet.setChannelType(1);
                 kuaiShouVideoGet.setUserId(userId);
                 kuaiShouVideoGet.setMaterialId(jsonObject.getString("material_id"));
-                kuaiShouVideoGet.setMaterialTag(jsonObject.getString("material_tag"));
-                kuaiShouVideoGet.setMaterialTitle(jsonObject.getString("material_title"));
-                kuaiShouVideoGet.setSupplierAccountId(jsonObject.getLong("supplier_account_id"));
-                kuaiShouVideoGet.setSupplierAccountName(jsonObject.getString("supplier_account_name"));
-
                 Integer type = MaterialEnum.getTypeBySize(kuaiShouVideoGet.getWidth(), kuaiShouVideoGet.getHeight());
                 if (!Check.isNull(type)) {
                     kuaiShouVideoGet.setMaterialType(type);