文档
测试

消息列表

POST
域名+ /index/message/message

请求头

参数名
类型
描述
必填
cookie
必填

请求参数

参数名
类型
描述
必填
type
0,1,2,3系统消息、优惠消息、活动消息、客服消息
必填
page
必填
pagenum
必填
time
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
object
数据字典
必填
data
object
数据字典
必填
total
int
示例:11
必填
per_page
int
示例:6
必填
current_page
int
示例:1
必填
last_page
int
示例:2
必填
data
array
数据列表
必填
id
int
示例:1
必填
member_id
int
示例:1
必填
type
int
示例:1
必填
content
string
示例:test
必填
create_time
string
示例:2021-03-26 11:10:25
必填
count
int
示例:6
必填
time
int
示例:1617170724
必填
type0_count
系统消息未读条数,即当type0_count>0上方红点出现
必填
type1_count
优惠消息未读条数,同上
必填
type2_count
活动消息未读条数,同上
必填
type3_count
客服消息未读条数,同上
必填