Develop外部联系人客户详情新增增加字段 by huangxm129 · Pull Request #1690 · binarywang/WxJava
| public void testGetExternalContact() throws WxErrorException { | ||
| String externalUserId = this.configStorage.getExternalUserId(); | ||
| WxCpUserExternalContactInfo result = this.wxCpService.getExternalContactService().getExternalContact(externalUserId); | ||
| WxCpUserExternalContactInfo result = this.wxCpService.getExternalContactService().getContactDetail(externalUserId); |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个为啥要改呢
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看到getExternalContact方法已被废弃了,换了个新的方法测试了下
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
那你不应该改这个方法吧,不是已经有了testGetContactDetail方法吗?
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); |
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") |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个字段是正确的吗?怎么不是下划线分割风格的?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已改