|
@@ -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");
|