|
@@ -359,7 +359,6 @@ public class KuaishouTemplateServiceImpl extends ServiceImpl<KuaishouTemplateMap
|
|
|
String url = PropertiesUtils.getConfig("kuaishou_api_url") + KuaishouInterfaceConstant.TEMPLATE_CREATE;
|
|
|
|
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, param.toJSONString(), headers);
|
|
|
-
|
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
|
if (!Check.isNull(resultJson)) {
|
|
|
Integer code = resultJson.getInteger("code");
|
|
@@ -371,7 +370,7 @@ public class KuaishouTemplateServiceImpl extends ServiceImpl<KuaishouTemplateMap
|
|
|
|
|
|
} else {
|
|
|
returnJson.put("code", -1);
|
|
|
- returnJson.put("message", returnJson.getString("message"));
|
|
|
+ returnJson.put("message", resultJson.getString("message"));
|
|
|
}
|
|
|
} else {
|
|
|
returnJson.put("code", -1);
|