|
@@ -316,7 +316,16 @@ public class KuaiShouCreateServiceImpl implements IKuaiShouCreateService {
|
|
requestJson.put("callbackData", requestArr);
|
|
requestJson.put("callbackData", requestArr);
|
|
String s = HttpUtils2.httpPostRequest(url, requestJson, null);
|
|
String s = HttpUtils2.httpPostRequest(url, requestJson, null);
|
|
JSONObject jsonObject = JSONObject.parseObject(s);
|
|
JSONObject jsonObject = JSONObject.parseObject(s);
|
|
- log.info("{},回调数据返回结果:{}", type, jsonObject);
|
|
|
|
|
|
+ if (!Check.isNull(jsonObject)) {
|
|
|
|
+ Integer code = jsonObject.getInteger("code");
|
|
|
|
+ if (code == 0) {
|
|
|
|
+ log.info("{},回调成功", type);
|
|
|
|
+ } else {
|
|
|
|
+ log.info("{},回调失败,入参:{}", type, requestJson);
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ log.info("{},回调返回结果为空,入参:{}", type, requestJson);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
private String getImageToken(String md5, Long accountId, String accessToken) {
|
|
private String getImageToken(String md5, Long accountId, String accessToken) {
|