企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 批量标签模块 ## **Web端交互** > ***** ![(images/screenshot_1567145572362.png)](https://img.kancloud.cn/38/2f/382f6ffe3a6d409484ed7cf6a3194a05_1094x791.png) ## **API相关文档** > ***** 接口描述 | **批量标签** ---|--- URL | /wechat\_api/customer/batchAddCustomer 请求方式 | post 请求参数 | {contactIds:"46916512,47666820,46916492,46916561,46916526",tags:[{"id":"","name":"eee"}\],isStar:} 返回值 |{"msg":"保存成功!","code":200} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | contactIds| string | Y |微信联系人ID | 请求参数 | tags| string | Y | 标签 | 请求参数 | isStar| string | Y |是否添加了星标朋友标签 > ***** 接口描述 | **获取标签详情** ---|--- URL | /wechat\_api/tag/getTagDetailList 请求方式 | post 请求参数 | {tagId: "42906",type: "0"} 返回值 |{"code":200,"data":[{"wechatContactId":46916492,"wechatUserUin":"2964685533","wechatUserNickName":"小陶同学","customerName":"冯杨振"},{"wechatContactId":46916512,"wechatUserUin":"2964685533","wechatUserNickName":"小陶同学","customerName":"冯力"},{"wechatContactId":46916526,"wechatUserUin":"2964685533","wechatUserNickName":"小陶同学","customerName":"韩超月"},{"wechatContactId":46916561,"wechatUserUin":"2964685533","wechatUserNickName":"小陶同学","customerName":"黄奔"},{"wechatContactId":47666820,"wechatUserUin":"2964685533","wechatUserNickName":"小陶同学","customerName":"房东"}]} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | tagId| Long | Y |标签ID | 请求参数 | type| Interger| Y |0:当前账号,其他:非当前账号 > ***** 接口描述 | **添加我的标签** ---|--- URL | /wechat\_api/tag/editTagInfo 请求方式 | post 请求参数 | {tagName:"xiao",isPub:"0"} 返回值 |{"msg":"操作成功!","code":200,"tagInfo":{"page":{"pageNo":1,"pageSize":-1,"count":0,"content":[],"html":"<ul>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">&#171; 上一页</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">1</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">下一页 &#187;</a></li>\n<li class=\"disabled controls\"><a href=\"javascript:\">当前 <input type=\"text\" value=\"1\" onkeypress=\"var e=window.event||this;var c=e.keyCode||e.which;if(c==13)page(this.value,-1,'');\" onclick=\"this.select();\"/> / <input type=\"text\" value=\"-1\" onkeypress=\"var e=window.event||this;var c=e.keyCode||e.which;if(c==13)page(1,this.value,'');\" onclick=\"this.select();\"/> 条,共 0 条</a></li>\n</ul>\n<div style=\"clear:both;\"></div>","firstResult":0,"maxResults":-1},"sqlMap":{},"tagId":43972,"tagName":"xiao","adminUserId":33726,"createTime":1565170775945,"isPub":0}} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | tagName| string | Y | 修改的标签名 | 请求参数 | isPub| string | Y | 是否公共 0:非公共,1 公共 2 部门 > ***** 接口描述 | **标签重命名** ---|--- URL | /wechat\_api/tag/editTagInfo 请求方式 | post 请求参数 | {tagName:"aaaeee",adminUserId:"33726",tagId:"43952",isPub:"0"} 返回值 |{"msg":"操作成功!","code":200,"tagInfo":{"page":{"pageNo":1,"pageSize":-1,"count":0,"content":[],"html":"<ul>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">&#171; 上一页</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">1</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">下一页 &#187;</a></li>\n<li class=\"disabled controls\"><a href=\"javascript:\">当前 <input type=\"text\" value=\"1\" onkeypress=\"var e=window.event||this;var c=e.keyCode||e.which;if(c==13)page(this.value,-1,'');\" onclick=\"this.select();\"/> / <input type=\"text\" value=\"-1\" onkeypress=\"var e=window.event||this;var c=e.keyCode||e.which;if(c==13)page(1,this.value,'');\" onclick=\"this.select();\"/> 条,共 0 条</a></li>\n</ul>\n<div style=\"clear:both;\"></div>","firstResult":0,"maxResults":-1},"sqlMap":{},"tagId":43952,"tagName":"aaaeee","adminUserId":33726,"isPub":0}} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | tagName| string | Y | 修改的标签名 | 请求参数 | adminUserId | string | Y | 管理员ID | 请求参数 | tagId| string | Y | 标签ID | 请求参数 | isPub| string | Y | 是否公共 0:非公共,1 公共 2 部门 > ***** 接口描述 | **删除标签** ---|--- URL | /wechat\_api/tag/delTagInfo 请求方式 | post 请求参数 | adminUserId: "33726", tagId:"42906", isPub:"0" 返回值 |{"msg":"删除成功!","code":200} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | adminUserId| string | 归属的管路员ID | 请求参数 | tagId| string | Y |标签ID | 请求参数 | isPub| string | Y |是否公众 0:非公共,1 公共 2 部门