Visitar URL original
ExternalProfile加入externalCorpName和wechatChannels字段;getContactDetail方法加入带cursor实现;添加获取商品图册获取接口实现 by loadingspace · Pull Request #2382 · binarywang/WxJava · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ExternalProfile加入externalCorpName和wechatChannels字段;getContactDetail方法…
…加入带cursor实现
  • Loading branch information
loadingspace committed Nov 10, 2021
commit c19dbe4beec77a6c1afc3383d5eae454ec1daee7
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,10 @@ public interface WxCpExternalContactService {
* </pre>
*
* @param userId 外部联系人的userid,注意不是企业成员的帐号
* @param cursor 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
* @return . contact detail
* @throws WxErrorException .
*/
WxCpExternalContactInfo getContactDetail(String userId) throws WxErrorException;

WxCpExternalContactInfo getContactDetail(String userId, String cursor) throws WxErrorException;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,6 @@ public WxCpExternalContactInfo getExternalContact(String userId) throws WxErrorE
return WxCpExternalContactInfo.fromJson(responseContent);
}

@Override
public WxCpExternalContactInfo getContactDetail(String userId) throws WxErrorException {
final String url = this.mainService.getWxCpConfigStorage().getApiUrl(GET_CONTACT_DETAIL + userId);
String responseContent = this.mainService.get(url, null);
return WxCpExternalContactInfo.fromJson(responseContent);
}

@Override
public WxCpExternalContactInfo getContactDetail(String userId, String cursor) throws WxErrorException {
String params = userId;
Expand Down