1
0
mirror of synced 2025-12-23 18:48:00 +08:00

🐛 #1699 企业微信模块修复添加企业客户标签接口

* 外部联系人客户详情新增增加字段

增加字段:remark_corp_name,addWay,oper_userid

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 修改测试类

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 客户标签组查询列表功能修改

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 修改测试类

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 修改 add_way字段错误

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 修改添加企业客户标签后无返回信息

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 外部联系人客户详情新增增加字段

增加字段:remark_corp_name,addWay,oper_userid

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 修改测试类

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 修改测试类

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 修改 add_way字段错误

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 修改添加企业客户标签后无返回信息

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 修改错误

Signed-off-by: huangxiaoming <huangxm129@163.com>

* 修改冲突

Signed-off-by: huangxiaoming <huangxm129@163.com>
This commit is contained in:
huangxm129
2020-08-06 09:35:29 +08:00
committed by GitHub
parent a776e9cf11
commit a9f9e30089
3 changed files with 33 additions and 22 deletions

View File

@@ -117,20 +117,20 @@ public class WxCpExternalContactServiceImplTest {
List<WxCpUserExternalTagGroupInfo.Tag> list = new ArrayList<>();
WxCpUserExternalTagGroupInfo.Tag tag = new WxCpUserExternalTagGroupInfo.Tag();
tag.setName("测试标签2");
tag.setName("测试标签20");
tag.setOrder(1);
list.add(tag);
WxCpUserExternalTagGroupInfo tagGroup = new WxCpUserExternalTagGroupInfo();
WxCpUserExternalTagGroupInfo tagGroupInfo = new WxCpUserExternalTagGroupInfo();
WxCpUserExternalTagGroupInfo.TagGroup tagGroup = new WxCpUserExternalTagGroupInfo.TagGroup();
tagGroup.setGroupName("其他");
tagGroup.setOrder(1);
tagGroup.setTag(list);
tagGroupInfo.setTagGroup(tagGroup);
WxCpUserExternalTagGroupInfo result = this.wxCpService.getExternalContactService().addCorpTag(tagGroup);
WxCpUserExternalTagGroupInfo result = this.wxCpService.getExternalContactService().addCorpTag(tagGroupInfo);
System.out.println(result);
System.out.println(result.toJson());
assertNotNull(result);
}
@@ -146,8 +146,8 @@ public class WxCpExternalContactServiceImplTest {
@Test
public void testDelCorpTag() throws WxErrorException {
String tagId[] = {"et2omCCwAA6PtGsfeEOQMENl3Ub1FA6A"};
String groupId[] = {};
String tagId[] = {};
String groupId[] = {"et2omCCwAAM3WzL00QpK9xARab3HGkAg"};
WxCpBaseResp result = this.wxCpService.getExternalContactService().delCorpTag(tagId,groupId);