mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-23 07:31:51 +08:00
update 打印日志
This commit is contained in:
@@ -161,7 +161,7 @@ public class WxAppletRemoteService {
|
||||
"&js_code=%s" +
|
||||
"&grant_type=authorization_code";
|
||||
|
||||
log.info("appid:{},appscrect:{}", WeixinLoginProperties.WX_OPEN_APP_ID, WeixinLoginProperties.WX_OPEN_APP_SECRET);
|
||||
log.info("微信登录获取openid, appid:{}", WeixinLoginProperties.WX_OPEN_APP_ID);
|
||||
|
||||
String accessTokenUrl = String.format(baseAccessTokenUrl, WeixinLoginProperties.WX_OPEN_APP_ID, WeixinLoginProperties.WX_OPEN_APP_SECRET, code);
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ public class HttpUtils {
|
||||
String jsonResult = EntityUtils.toString(httpEntity);
|
||||
return JSON.readValue(jsonResult, HashMap.class);
|
||||
} else {
|
||||
log.error("微信支付错误信息:{}, body:{}", EntityUtils.toString(httpEntity), body);
|
||||
log.error("微信支付错误信息:{}", EntityUtils.toString(httpEntity));
|
||||
}
|
||||
} catch (Exception e) {
|
||||
log.error("HttpUtils.doPostWexin error", e);
|
||||
|
||||
Reference in New Issue
Block a user