🐛 修复通讯录搜索接口参数问题

This commit is contained in:
OrangeBadBad 2021-04-19 15:48:28 +08:00 committed by GitHub
parent 28df6d426a
commit 7f4b576fd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ public class WxCpTpContactServiceImpl implements WxCpTpContactService {
@Override
public WxCpTpContactSearchResp contactSearch(WxCpTpContactSearch wxCpTpContactSearch) throws WxErrorException {
String responseText =
mainService.post(mainService.getWxCpTpConfigStorage().getApiUrl(CONTACT_SEARCH) + "?provider_access_token=" + mainService.getWxCpTpConfigStorage().getCorpSecret(), wxCpTpContactSearch.toJson());
mainService.post(mainService.getWxCpTpConfigStorage().getApiUrl(CONTACT_SEARCH) + "?provider_access_token=" + mainService.getWxCpProviderToken(), wxCpTpContactSearch.toJson());
return WxCpTpContactSearchResp.fromJson(responseText);
}