分页获取邮件发送记录
开发中
POST
/api/system/emailRecord/page
请求参数
Body 参数application/json
pageNo
integer
当前页码
默认值:
1
pageSize
integer
每页条目数
默认值:
10
params
object (SmEmailRecord)
请求的具体参数
id
integer <int64>
可选
recipient
string
收件人
carbonCopy
string
抄送人
content
string
内容
sendTime
string
发送时间
sendStatus
integer
可选
sendChannel
string
发送接口
示例
{"pageNo":1,
"pageSize":10,
"params":
{
"recipient": "example@example.com",
"carbonCopy": "cc@example.com",
"content": "这是邮件的具体内容",
"sendTime": "2025-03-01T12:30:00",
"sendStatus": 1,
"sendChannel": "EmailServiceA"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/system/emailRecord/page' \
--header 'Content-Type: application/json' \
--data-raw '{"pageNo":1,
"pageSize":10,
"params":
{
"recipient": "example@example.com",
"carbonCopy": "cc@example.com",
"content": "这是邮件的具体内容",
"sendTime": "2025-03-01T12:30:00",
"sendStatus": 1,
"sendChannel": "EmailServiceA"
}
}'
返回响应
🟢200成功
application/json
Body
success
boolean
可选
默认值:
true
errCode
string
可选
errMsg
string
可选
traceId
string