新增微信获取accessToken

This commit is contained in:
zhangchenbiao
2023-07-07 12:39:27 +08:00
parent 1bf83cf694
commit ef755023d3

View File

@@ -380,7 +380,7 @@ public class ISVHttpRequest {
responseEntity = httpRestTemplateService.getForObject(url, ResultDTO.class, requestMap);
log.info("url:{}, response:{}", url, JSONObject.toJSONString(responseEntity));
if(Objects.nonNull(responseEntity.getData()) && responseEntity.isSuccess()){
return JSONObject.toJSONString(responseEntity.getData());
return String.valueOf(responseEntity.getData());
}
} catch (Exception e) {
log.info("调用isv出错{}", e);