ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
**1.接口地址**:http://api.zishahui.vip/user/chat-history **2.支持格式**:json **3.请求方式**:post **4.请求参数**: | 参数 | 必填 | 类型 | 说明 | | --- | --- | --- | --- | | page |否 | int |页码| | limit |否 | int | 获取多少条数据(不传默认拉取10条) | | user_id |yes | int |用户ID| | shop_id |yes | int |店铺ID| ***5.返回字段说明*** |名称|类型|说明| |---|:---:|--:|--:| |code|int|返回码| |msg|string|返回提示信息| |data|string|返回数据| |has_next|string|是否还有数据 true代表还有 false代表没有| *******成功示列******* { "code": 1, "msg": "返回成功", "data": [ { "id": "79", "from_uid": "12", "to_uid": "98", "message": "就", "create_time": 1530331273 }, { "id": "59", "from_uid": "98", "to_uid": "12", "message": "来来来", "create_time": 1530279023 }, { "id": "53", "from_uid": "12", "to_uid": "98", "message": "33", "create_time": 1530278514 }, { "id": "50", "from_uid": "12", "to_uid": "98", "message": "111", "create_time": 1530278433 }, { "id": "49", "from_uid": "12", "to_uid": "98", "message": "33", "create_time": 1530278354 } ], "has_next": true }