文档
测试

获取消息列表

GET
http://localhost:8087/hotel/message/getMessageList?current=1&size=10&hotelId=1&type=1

请求头

参数名
类型
描述
必填

请求参数

参数名
类型
描述
必填
current
int
示例:1
必填
size
int
示例:10
必填
hotelId
int
(酒店id)示例:1
必填
type
int
(消息分类id)示例:1
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:请求成功
必填
code
int
示例:200
必填
data
object
数据字典
必填
records
array
数据列表
必填
hmId
int
(消息id)示例:1
必填
hotelId
int
示例:1
必填
type
int
(分类id)示例:1
必填
content
string
示例:1111111
必填
isRead
int
(1 未读 2已读)示例:1
必填
createTime
string
示例:2021-11-17 17:36:13
必填
isReadCount
object
示例:null
必填
title
标题
必填
total
int
示例:3
必填
size
int
示例:10
必填
current
int
示例:1
必填
orders
array
数据列表
必填
hitCount
boolean
示例:false
必填
searchCount
boolean
示例:true
必填
pages
int
示例:1
必填