|
@@ -1604,6 +1604,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
KuaishouResultToken kuaiShouResult = null;
|
|
KuaishouResultToken kuaiShouResult = null;
|
|
try {
|
|
try {
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, requestJson.toJSONString(), headers);
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, requestJson.toJSONString(), headers);
|
|
|
|
+ log.info("返回token信息:{}",JSONObject.parseObject(result));
|
|
ObjectMapper mapper = new ObjectMapper();
|
|
ObjectMapper mapper = new ObjectMapper();
|
|
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
|
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
|
kuaiShouResult = mapper.readValue(result, new TypeReference<KuaishouResultToken>() {
|
|
kuaiShouResult = mapper.readValue(result, new TypeReference<KuaishouResultToken>() {
|