Browse Source

添加微信调用url日志信息

formao-live
xiaohanzi 5 years ago
parent
commit
de0e9c4dc5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      weixin-java-open/src/main/java/me/chanjar/weixin/open/api/impl/WxOpenComponentServiceImpl.java

+ 1
- 0
weixin-java-open/src/main/java/me/chanjar/weixin/open/api/impl/WxOpenComponentServiceImpl.java View File

@@ -166,6 +166,7 @@ public class WxOpenComponentServiceImpl implements WxOpenComponentService {
String componentAccessToken = getComponentAccessToken(false);
String uriWithComponentAccessToken = uri + (uri.contains("?") ? "&" : "?") + accessTokenKey + "=" + componentAccessToken;
try {
log.info("wxopencomponent excute url:"+uriWithComponentAccessToken);
return getWxOpenService().get(uriWithComponentAccessToken, null);
} catch (WxErrorException e) {
WxError error = e.getError();


Loading…
Cancel
Save