# 服务记录模块
## **Web端交互**
> *****
![(images/screenshot_1567145572362.png)](https://img.kancloud.cn/e4/a7/e4a780c4b9b2e6835f0d2c3d93ffa04b_1089x792.png)
## **API相关文档**
> *****
接口描述 | **查询服务记录**
---|---
URL | /wechat_api/servicerecord/recordList
请求方式 | get
请求参数 | {beginTime:"",endTime:"",serviceType:"",contactName:"",serviceNote:"",status:"",limit=10:"",pageNo:""}
返回值 | {"code":200,"data":[],"pageNo":1,"count":0}
| Sort | Param | Type | required | Description |
| --- | --- | --- | --- |--- |
| 请求参数 | beginTime| string | Y |开始时间
| 请求参数 | endTime| string | Y |结束时间
| 请求参数 | serviceType| string | Y |服务类型
| 请求参数 | contactName| string | Y |联系名
| 请求参数 | serviceNote| string | Y |服务内容
| 请求参数 | status| string | Y |服务状态
| 请求参数 | limit| string | Y |分页查询
| 请求参数 | pageNo| string | Y |分页查询
- 接口描述和参数说明
接口描述 | **导出服务记录**
---|---
URL | /wechat\_api/servicerecord/downLoad
请求方式 | get
请求参数 |
返回值 | 返回一个文件
| Sort | Param | Type | required | Description |
| --- | --- | --- | --- |--- |
- 接口描述和参数说明
接口描述 | **修改并保存记录**
---|---
URL | /wechat\_api/servicerecord/dosave
请求方式 | get
请求参数 | {recordId:"",noticeTime:"",serviceNote:"",remark:""}
返回值 | {"msg":"保存成功","code":200}
| Sort | Param | Type | required | Description |
| --- | --- | --- | --- |--- |
| 请求参数 | recordId| Interger| Y |主键ID
| 请求参数 | noticeTime| string | Y |提醒时间
| 请求参数 | serviceNote| string |Y | 服务内容
| 请求参数 | remark| string | Y |备注
- 接口描述和参数说明
接口描述 | **删除服务记录**
---|---
URL | /wechat\_api/servicerecord/delrecord
请求方式 | get
请求参数 | {recordId:"22835"}
返回值 | {"msg":"删除成功","code":200}
| Sort | Param | Type | required | Description |
| --- | --- | --- | --- |--- |
| 请求参数 | recordId| Interger| Y |主键ID
- 接口描述和参数说明
接口描述 | **查看服务聊天记录**
---|---
URL | /wechat\_api/message/getRedisMessageRecord
请求方式 | get
请求参数 | {adminUserId=33726&wechatUserIds=13806&wechatContactIds=19564131&beginTime=&endTime=&limit=&pageNo=}
返回值 | {"code":200,"data":[{"page":{"pageNo":1,"pageSize":-1,"count":0,"content":[],"html":"<ul>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">« 上一页</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">1</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">下一页 »</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":{},"messageId":99379682,"msgId":"2398357200474695174","content":"大股东非固定","fromUserName":"wxid_oo8w553uj5g612","fromUserNickName":"售前-陶成","toUserName":"wxid_mjxv8kbxje8b22","toUserNickName":"小陶同学","msgType":1,"fromUserId":19564130,"toUserId":47930186,"ownerUserId":47930186,"createTime":1565075152000,"wechatUserId":13806,"wechatUserNickName":"售前-陶成","sendStatus":1,"uin":"663329897"},{"page":{"pageNo":1,"pageSize":-1,"count":0,"content":[],"html":"<ul>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">« 上一页</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">1</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">下一页 »</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":{},"messageId":99379653,"msgId":"3613973959463708623","content":"是打发","fromUserName":"wxid_oo8w553uj5g612","fromUserNickName":"售前-陶成","toUserName":"wxid_mjxv8kbxje8b22","toUserNickName":"小陶同学","msgType":1,"fromUserId":19564130,"toUserId":47930186,"ownerUserId":47930186,"createTime":1565075151000,"wechatUserId":13806,"wechatUserNickName":"售前-陶成","sendStatus":1,"uin":"663329897"},{"page":{"pageNo":1,"pageSize":-1,"count":0,"content":[],"html":"<ul>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">« 上一页</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">1</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">下一页 »</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":{},"messageId":99379596,"msgId":"3508111703806335922","content":"第三方三房","fromUserName":"wxid_oo8w553uj5g612","fromUserNickName":"售前-陶成","toUserName":"wxid_mjxv8kbxje8b22","toUserNickName":"小陶同学","msgType":1,"fromUserId":19564130,"toUserId":47930186,"ownerUserId":47930186,"createTime":1565075148000,"wechatUserId":13806,"wechatUserNickName":"售前-陶成","sendStatus":1,"uin":"663329897"},{"page":{"pageNo":1,"pageSize":-1,"count":0,"content":[],"html":"<ul>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">« 上一页</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">1</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">下一页 »</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":{},"messageId":99055963,"msgId":"4618648550515805457","content":"How are you?","fromUserName":"wxid_mjxv8kbxje8b22","fromUserNickName":"小陶同学","toUserName":"wxid_oo8w553uj5g612","toUserNickName":"售前-陶成","msgType":1,"fromUserId":47930186,"toUserId":19564130,"ownerUserId":47930186,"createTime":1565061537000,"wechatUserId":13806,"wechatUserNickName":"售前-陶成","uin":"663329897"},{"page":{"pageNo":1,"pageSize":-1,"count":0,"content":[],"html":"<ul>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">« 上一页</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">1</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">下一页 »</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":{},"messageId":99055912,"msgId":"4483691397658598556","content":"aaa","fromUserName":"wxid_mjxv8kbxje8b22","fromUserNickName":"小陶同学","toUserName":"wxid_oo8w553uj5g612","toUserNickName":"售前-陶成","msgType":1,"fromUserId":47930186,"toUserId":19564130,"ownerUserId":47930186,"createTime":1565061535000,"wechatUserId":13806,"wechatUserNickName":"售前-陶成","uin":"663329897"},{"page":{"pageNo":1,"pageSize":-1,"count":0,"content":[],"html":"<ul>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">« 上一页</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">1</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">下一页 »</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":{},"messageId":98967446,"msgId":"6932345178608546118","content":"你好啊","fromUserName":"wxid_mjxv8kbxje8b22","fromUserNickName":"小陶同学","toUserName":"wxid_oo8w553uj5g612","toUserNickName":"售前-陶成","msgType":1,"fromUserId":47930186,"toUserId":19564130,"ownerUserId":47930186,"createTime":1565058019000,"wechatUserId":13806,"wechatUserNickName":"售前-陶成","uin":"663329897"},{"page":{"pageNo":1,"pageSize":-1,"count":0,"content":[],"html":"<ul>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">« 上一页</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">1</a></li>\n<li><a href=\"javascript:\" onclick=\"page(0,-1,'');\">下一页 »</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":{},"messageId":98967142,"msgId":"9186016863837812392","content":"我通过了你的朋友验证请求,现在我们可以开始聊天了","fromUserName":"wxid_mjxv8kbxje8b22","fromUserNickName":"小陶同学","toUserName":"wxid_oo8w553uj5g612","toUserNickName":"售前-陶成","msgType":1,"fromUserId":47930186,"toUserId":19564130,"ownerUserId":47930186,"createTime":1565058006000,"wechatUserId":13806,"wechatUserNickName":"售前-陶成","uin":"663329897"}],"pageNo":1,"count":7}
| Sort | Param | Type | required | Description |
| --- | --- | --- | --- |--- |
| 请求参数 | adminUserId| string | Y |管理员账号ID
| 请求参数 | wechatUserIds| string | Y |微信号的ID
| 请求参数 | wechatContactIds| string | Y |微信联系人ID
| 请求参数 | beginTime| string | Y |开始时间
| 请求参数 | endTime| string | Y |结束时间
| 请求参数 | limit和pageNo| string | Y |分页
- 首页
- 系统登录注册模块
- 登录模块
- 注册模块
- 忘记密码模块
- 功能首页渲染模块
- 会话面板模块
- 微信号登录模块
- 会话联系人模块
- 通讯录模块
- 聊天窗口模块
- 快捷回复模块
- 客户录入模块
- 群管理模块
- 历史消息面板模块
- 群发助手面板模块
- 群发设置模块
- 群发管理模块
- 群发演示模块
- 朋友圈面板模块
- 发朋友圈模块
- 朋友圈互动模块
- 朋友圈历史记录模块
- 客户管理面板模块
- 客户查询模块
- 服务记录模块
- 批量标签模块
- 标签管理模块
- 昵称管理模块
- 个性称呼模块
- 批量导入客户模块
- 报表面板模块
- 微信好友报表
- 被删好友报表
- 新增好友报表
- 添加好友报表
- 服务记录报表
- 转账记录报表
- 红包统计报表
- 会话统计报表
- 电话统计报表
- 标签统计报表
- 账号管理面板模块
- 微信号管理模块
- 部门管理模块
- 子账号管理模块
- 在线日志模块
- 机器人模块
- 自动通过好友模块
- 小程序商城模块
- 微信号分配模块
- 帮助中心面板模块
- 个人中心模块
- 我的账号模块
- 系统设置模块
- 第三方能力接口对接
- 第三方登录模块
- 联系人模块
- 系统账号模块
- 服务版本接口迭代说明
- 素材库
- 好友去重
- V群模块