mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
🐛 修复通讯录搜索接口参数问题
This commit is contained in:
parent
28df6d426a
commit
7f4b576fd6
@ -22,7 +22,7 @@ public class WxCpTpContactServiceImpl implements WxCpTpContactService {
|
|||||||
@Override
|
@Override
|
||||||
public WxCpTpContactSearchResp contactSearch(WxCpTpContactSearch wxCpTpContactSearch) throws WxErrorException {
|
public WxCpTpContactSearchResp contactSearch(WxCpTpContactSearch wxCpTpContactSearch) throws WxErrorException {
|
||||||
String responseText =
|
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);
|
return WxCpTpContactSearchResp.fromJson(responseText);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user