文档
测试

获取历史消息

POST
api.chat.cn/admin/message/getChatMessageList

请求参数

参数名
类型
描述
必填
page_index
number
第几页
必填
page_size
number
每页大小
必填
token
string
* 用户标识
必填

响应说明

```json { "data": { "data": [ { "mid": 414, "type": 0, "gid": 193, "grid": 14, "fromid": 193, "fromname": "Ning", "toid": 0, "toname": "", "msg": "123213", "filetype": 0, "time": 1598866716, "is_read": 0, "read_time": 0, "group_info": null, "guest_info": { "gid": 193, "aid": 0, "grid": 0, "oid": 0, "upload": 0, "lang": 1, "kickouts": 0, "logins": 0, "last": 1598866710, "lastip": "127.0.0.1", "ipzone": "未知", "browser": "mozilla/5.0 (iphone; cpu iphone os 11_0 like mac os x) applewebkit/604.1.38 (khtml, like gecko) version/11.0 mobile/15a372 safari/604.1", "mobile": 1, "fromurl": "http://192.168.0.65:8081/h5/?#/pages/message/message", "grade": 0, "fullname": "Ning", "address": "", "phone": "", "email": "", "remark": "", "session": "8ed07fd7-7621-4369-ba8c-5e0f2bf94cb3", "user_id": 2, "from_id": 1, "app_id": "10001", "user_info": { "uid": 2, "other_uid": 422, "app_id": "10001", "from_id": 1, "from_name": "路运网站", "user_name": "wx11f0415946498", "from_code": "LY_SITE", "from_type": 2, "user_nick": "Ning", "mobile": "17636156520", "user_headimg": "https://thirdwx.qlogo.cn/mmopen/vi_32/Q0j4TwGTfTLcLNFoJoosoviawN4ZSac4meGF25eu5ArHqbZzQ92u7fUDBX2OAmjems6DRKnU8KOgQXqpN7BXB2g/132", "user_status": 1, "user_json": "{\"id\":422,\"user_name\":\"wx11f0415946498\",\"nick_name\":\"Ning\",\"sex\":1,\"birthday\":\"1000-01-01\",\"user_money\":\"0.00\",\"frozen_money\":\"0.00\",\"pay_points\":1,\"rank_points\":1,\"address_id\":45,\"qq\":\"\",\"mobile_phone\":\"17636156520\",\"user_picture\":\"https:\\/\\/thirdwx.qlogo.cn\\/mmopen\\/vi_32\\/Q0j4TwGTfTLcLNFoJoosoviawN4ZSac4meGF25eu5ArHqbZzQ92u7fUDBX2OAmjems6DRKnU8KOgQXqpN7BXB2g\\/132\"}", "create_time": 1598866710 } }, "source": "h5", "unread_count": 1, "last_msg": { "mid": 414, "type": 0, "gid": 193, "grid": 14, "fromid": 193, "fromname": "Ning", "toid": 0, "toname": "", "msg": "123213", "filetype": 0, "time": 1598866716, "is_read": 0, "read_time": 0 } } ], "total_count": 1, "page_count": 1, "count_unread": 1 }, "code": 200, "message": "操作成功", "status": "Success" } ```