聊天记录
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
示例:数据返回成功
必填
current_page
int
示例:1
必填
uid
int
示例:17
必填
created_at
string
示例:2022-04-14 18:56:00
必填
content
string
示例:新的消息
必填
channel_id
int
示例:1
必填
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
必填