|
@@ -863,10 +863,10 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
Map<String, String> header = new HashMap<String, String>();
|
|
Map<String, String> header = new HashMap<String, String>();
|
|
header.put("Content-Type", " application/json");
|
|
header.put("Content-Type", " application/json");
|
|
header.put("Access-Token", accessToken);
|
|
header.put("Access-Token", accessToken);
|
|
- System.err.println(requestJson);
|
|
|
|
- System.err.println(header);
|
|
|
|
|
|
+
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, requestJson.toJSONString(), header);
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, requestJson.toJSONString(), header);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
|
|
+ logger.info("快手创建创意返回信息:{}",resultJson);
|
|
if (!Check.isNull(resultJson)) {
|
|
if (!Check.isNull(resultJson)) {
|
|
Integer code = resultJson.getInteger("code");
|
|
Integer code = resultJson.getInteger("code");
|
|
if (code == 0) {
|
|
if (code == 0) {
|