通知设置保存
/api/setting/notice/save
请求参数
Body 参数application/json
id
integer
必需
systemNotice
object {3}
必需
status
integer
必需
title
string
必需
content
string
必需
smsNotice
object {3}
必需
status
integer
必需
templateId
string
必需
content
string
必需
oaNotice
object {7}
必需
status
integer
必需
name
string
必需
first
string
必需
remark
string
必需
templateId
string
必需
templateSn
string
必需
tpl
array [object {0}]
必需
mnpNotice
object {5}
必需
status
integer
必需
name
string
必需
templateId
string
必需
templateSn
string
必需
tpl
array [object {3}]
必需
示例
{
"id": 0,
"systemNotice": {
"status": 0,
"title": "string",
"content": "string"
},
"smsNotice": {
"status": 0,
"templateId": "string",
"content": "string"
},
"oaNotice": {
"status": 0,
"name": "string",
"first": "string",
"remark": "string",
"templateId": "string",
"templateSn": "string",
"tpl": [
{}
]
},
"mnpNotice": {
"status": 0,
"name": "string",
"templateId": "string",
"templateSn": "string",
"tpl": [
{
"tplName": "string",
"tplKeyword": "string",
"tplContent": "string"
}
]
}
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON
数据结构
code
integer
必需
msg
string
必需
data
array[string]
必需
示例
{
"code": 200,
"msg": "成功",
"data": []
}
修改时间 1 年前