通知设置详情
/api/setting/notice/detail
请求参数
Query 参数
id
string
主键
示例值:
1
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSON
数据结构
code
integer
必需
msg
string
必需
data
object {8}
必需
id
integer
必需
name
string
必需
type
null
必需
remarks
string
必需
systemNotice
object {5}
必需
smsNotice
object {5}
必需
oaNotice
object {9}
必需
mnpNotice
object {7}
必需
示例
{
"code": 200,
"msg": "成功",
"data": {
"id": 1,
"name": "注册验证码",
"type": "业务通知",
"remarks": "用户注册时发送",
"systemNotice": {
"type": "system",
"title": "",
"content": "",
"tips": [
"可选变量 验证码:code"
],
"status": "0"
},
"smsNotice": {
"type": "sms",
"templateId": "1009794",
"content": "亲爱的${nickname},您的订单${order_sn}已支付成功,商家正在快马加鞭为您安排发货。",
"tips": [
"可选变量 验证码:code",
"示例:您正在申请注册,验证码${code},切勿将验证码泄露于他人,本条验证码有效期5分钟。",
"生效条件:1、管理后台完成短信设置。2、第三方短信平台申请模板。"
],
"status": 1
},
"oaNotice": {
"tpl": [],
"name": "",
"remark": "",
"type": "oa",
"templateId": "",
"templateSn": "",
"first": "",
"tips": [
"可选变量 验证码:code",
"配置路径:小程序后台 > 功能 > 订阅消息"
],
"status": 1
},
"mnpNotice": {
"tpl": [
{
"tplName": "订单编号",
"tplKeyword": "character_string1",
"tplContent": "{order_sn}"
}
],
"name": "",
"type": "mnp",
"templateId": "WpJf",
"templateSn": "",
"tips": [
"可选变量 验证码:code",
"配置路径:小程序后台 > 功能 > 订阅消息"
],
"status": 1
}
}
}
修改时间 1 年前