mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-09-21 02:58:09 +08:00
issue #113 企业号oauth2getUserInfo报errcode=40029, errmsg=invalid code
This commit is contained in:
@@ -445,7 +445,7 @@ public class WxCpServiceImpl implements WxCpService {
|
||||
|
||||
@Override
|
||||
public String[] oauth2getUserInfo(String code) throws WxErrorException {
|
||||
return oauth2getUserInfo(code, wxCpConfigStorage.getAgentId());
|
||||
return oauth2getUserInfo(wxCpConfigStorage.getAgentId(), code);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user