文档
测试

聊天记录

GET
http://192.168.1.201:86/api/user/get_channel_chat?channel_id=1&page=1&limit=2

请求头

参数名
类型
描述
必填
authori-zation
string
示例:c6bc322df06e158bcc6821b27eebeca5
必填

请求参数

参数名
类型
描述
必填
channel_id
int
示例:1
必填
page
int
示例:1
必填
limit
int
示例:2
必填
page
string
示例:
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:数据返回成功
必填
data
object
数据字典
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
uid
int
示例:17
必填
created_at
string
示例:2022-04-14 18:56:00
必填
content
string
示例:新的消息
必填
channel_id
int
示例:1
必填
user_info
object
数据字典
必填
nickname
string
示例:第三方
必填
avatar_url
string
示例:https://thirdwx.qlogo.cn/mmopen/vi_32/CmH0QxAub4TnnMiazaz5noY4LpGfiaxxCZiacDndbWLbR5FbtVVnibwCQltfKOEZTepOA7p7BicXlhWcng21m8mSTDA/132
必填
first_page_url
string
示例:http://192.168.1.201:86/api/user/get_channel_chat?page=1
必填
from
int
示例:1
必填
last_page
int
示例:9
必填
last_page_url
string
示例:http://192.168.1.201:86/api/user/get_channel_chat?page=9
必填
next_page_url
string
示例:http://192.168.1.201:86/api/user/get_channel_chat?page=2
必填
path
string
示例:http://192.168.1.201:86/api/user/get_channel_chat
必填
per_page
string
示例:2
必填
prev_page_url
object
示例:null
必填
to
int
示例:2
必填
total
int
示例:18
必填
code
int
示例:200
必填