mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-07-16 07:59:43 +08:00
issue #113 企业号oauth2getUserInfo报errcode=40029, errmsg=invalid code
This commit is contained in:
parent
7efdd448d1
commit
a5d05d3458
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user