yumeng 4 år sedan
förälder
incheckning
20007e578a

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

@@ -51,6 +51,7 @@ public class KuaishouTemplateServiceImpl extends ServiceImpl<KuaishouTemplateMap
         headers.put("Content-Type", " application/json");
         String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
         JSONObject resultJson = JSONObject.parseObject(result);
+        log.info("获取模板信息:{}",resultJson);
         if (!Check.isNull(resultJson)) {
             Integer code = resultJson.getInteger("code");
          /*   Map<String, Object> deleteMap = new HashMap<>();
@@ -65,6 +66,7 @@ public class KuaishouTemplateServiceImpl extends ServiceImpl<KuaishouTemplateMap
                 if (Check.isNull(details)) {
                     return;
                 }
+
                 for (int i = 0; i < details.size(); i++) {
                     JSONObject jsonObject = details.getJSONObject(i);
                     Long templateId = jsonObject.getLong("template_id");