文档
测试

获取一对一聊天记录

GET
http://localhost:8000/chat/im/imRecord?from=1&to=3

请求参数

参数名
类型
描述
必填
from
int
示例:1
必填
to
int
示例:3
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
msg
string
示例:成功
必填
data
object
数据字典
必填
list
array
数据列表
必填
page
int
示例:1
必填
limit
int
示例:20
必填
from
string
示例:1
必填
to
string
示例:3
必填
room_id
string
示例:
必填
time
string
示例:2021-12-31 15:23:56
必填
message
string
示例:1
必填
card_info
object
数据字典
必填
name
string
示例:姓名
必填
logo
string
示例:http***
必填
isread
是否已读(1:未读,0:已读)
必填
total
int
示例:1
必填