多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 昵称管理模块 ## **Web端交互** > ***** ![(images/screenshot_1567145572362.png)](https://img.kancloud.cn/22/da/22dabf08d4c827ff3f4521db688956a1_1092x790.png) ## **API相关文档** > ***** 接口描述 | **查询昵称记录** ---|--- URL | /wechat\_api/wechatContact/getAllNoteNickName 请求方式 | get 请求参数 | adminUserId: 33726 uin: noteNickName: 返回值 |{"code":200,"msg":"操作成功!","data":[{"noteNickNameId":416,"startTime":"2019-08-11 00:00:00","endTime":"2019-08-12 00:00:00","noteNickName":"朋友","uins":"2964685533","adminUserId":33726,"createDateTime":"2019-08-07 17:18:37"},{"noteNickNameId":415,"startTime":"2019-08-09 00:00:00","endTime":"2019-08-10 00:00:00","noteNickName":"aaa","uins":"2964685533","adminUserId":33726,"createDateTime":"2019-08-07 17:16:42"}]} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | adminUserId| string | Y |账号ID | 请求参数 | uins| string | Y | 微信账号ID | 请求参数 | noteNickName| string | Y |设置备注的昵称 > ***** 接口描述 | **设定备注昵称** ---|--- URL | /wechat\_api/wechatContact/insertNickName 请求方式 | post 请求参数 | {noteNickName:"朋友",uins: "2964685533", startTime:"Fri Aug 02 2019 00:00:00 GMT+0800 (中国标准时间)", endTime: "Sat Aug 03 2019 23:59:59 GMT+0800 (中国标准时间)",adminUserId:"33726"} 返回值 |{"msg":"设置成功","code":200} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | noteNickName| string | Y |设置备注的昵称 | 请求参数 | uins| string | Y | 微信账号ID | 请求参数 | startTime| string | Y |设置起始时间 | 请求参数 | endTime| string |Y |设置结束时间 | 请求参数 | adminUserId| string | Y |管理员ID > ***** 接口描述 | **设定备注昵称时间的详情** ---|--- URL | /wechat\_api/wechatContact/getNoteNickNameDetail 请求方式 | post 请求参数 |{noteNickNameId:"414"} 返回值 |{"msg":"获取详情成功","code":200,"data":{"pageNo":1,"pageSize":-1,"count":0,"content":[],"html":"<ul>\n<li class=\"disabled\"><a href=\"javascript:\">&#171; 上一页</a></li>\n<li class=\"active\"><a href=\"javascript:\">1</a></li>\n<li class=\"disabled\"><a href=\"javascript:\">下一页 &#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}} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | noteNickNameId| string | Y |昵称ID > ***** 接口描述 | **删除备注昵称** ---|--- URL | /wechat\_api/wechatContact/deletNoteNickNameById 请求方式 | post 请求参数 | noteNickNameId:"379" 返回值 |{"msg":"删除成功","code":200} | Sort | Param | Type | required | Description | | --- | --- | --- | --- |--- | | 请求参数 | noteNickNameId| string | Y |要删除的昵称ID