Skip to content

Conversation

huangxm129
Copy link

增加字段:remark_corp_name,addWay,oper_userid

增加字段:remark_corp_name,addWay,oper_userid Signed-off-by: huangxiaoming <huangxm129@163.com>
Signed-off-by: huangxiaoming <huangxm129@163.com>
public void testGetExternalContact() throws WxErrorException {
String externalUserId = this.configStorage.getExternalUserId();
WxCpUserExternalContactInfo result = this.wxCpService.getExternalContactService().getExternalContact(externalUserId);
WxCpUserExternalContactInfo result = this.wxCpService.getExternalContactService().getContactDetail(externalUserId);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个为啥要改呢

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看到getExternalContact方法已被废弃了,换了个新的方法测试了下

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

那你不应该改这个方法吧,不是已经有了testGetContactDetail方法吗?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改

public void testGetExternalContact() throws WxErrorException {
String externalUserId = this.configStorage.getExternalUserId();
WxCpUserExternalContactInfo result = this.wxCpService.getExternalContactService().getExternalContact(externalUserId);
WxCpUserExternalContactInfo result = this.wxCpService.getExternalContactService().getContactDetail(externalUserId);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

那你不应该改这个方法吧,不是已经有了testGetContactDetail方法吗?

private Tag[] tags;
@SerializedName("remark_corp_name")
private String remarkCorpName;
@SerializedName("addWay")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个字段是正确的吗?怎么不是下划线分割风格的?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已改

Signed-off-by: huangxiaoming <huangxm129@163.com>
Signed-off-by: huangxiaoming <huangxm129@163.com>
Signed-off-by: huangxiaoming <huangxm129@163.com>
@binarywang binarywang merged commit a776e9c into binarywang:develop Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants