- j2
- 消息服务
- 通知提醒
- 消息中间件
- 系统管理
- j3
- c1
- 基础配置
- 人员配置
- c2
- c3
- c4
- c5
- c7
- c8
- c6
- J5
- j4
- j8
- j1
- j7
ok获取消息列表(带条件分页)
联调中
GET
/msgmw/messages
消息中间件模块的消息中心
最后修改时间:2025-03-11 12:01:52
责任人:未设置
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
esStatus
string
发送状态
示例值:
3(对应未 发送)
esTitle
string
消息标题
示例值:
xx通知
esType
string
消息类型
示例值:
1(对应短信提醒)
pageIndex
integer <int64>
查询页码
示例值:
1
pageSize
integer <int64>
查询条数
示例值:
10
示例
{
"esStatus": "3(对应未发送)",
"esTitle": "xx通知",
"esType": "1(对应短信提醒)",
"pageIndex": 1,
"pageSize": 10
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/msgmw/messages' \
--header 'Content-Type: application/json' \
--data-raw '{
"esStatus": "3(对应未发送)",
"esTitle": "xx通知",
"esType": "1(对应短信提醒)",
"pageIndex": 1,
"pageSize": 10
}'
返回响应
🟢200成功
*/*
Body
code
integer <int32>
状态码
示例值:
10000
data
object (PageDTO«消息数据列表传输对象»)
可选
pageIndex
integer <int64>
当前页码
示例值:
1
pageSize
integer <int64>
可选
示例值:
10
pages
integer <int64>
总页数
示例值:
100
rows
array[object (消息数据列表传输对象) {11}]
当前页数据列表
total
integer <int64>
总条数
示例值:
100000
message
string
提示消息
示例值:
提示消息内容
示例
{
"code": 10000,
"data": {
"pageIndex": 1,
"pageSize": 10,
"pages": 100,
"rows": [
{
"createDate": "2025-02-18 12:30:34.0",
"esContent": "YYY-有限公司客户的订单QTRK20250218-0001将于送到,请准备收货。",
"esReceiver": "admin",
"esSender": "admin",
"esSendtime": "2025-02-22 20:01:50.0",
"esStatus": 3,
"esTitle": "XX通知",
"esType": 1,
"id": "4028318195171486019517527243002d",
"remark": "string",
"virtualId": 1
}
],
"total": 100000
},
"message": "提示消息内容"
}
🟠401没有权限
🟠403禁止访问
🟠404记录不存在