issue #113 企业号oauth2getUserInfo报errcode=40029, errmsg=invalid code

This commit is contained in:
Daniel Qian 2015-03-24 16:49:48 +08:00
parent 7efdd448d1
commit a5d05d3458

View File

@ -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