🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
**简要描述:** - 通知设置详情 **请求URL:** - `/adminapi/notice.notice/detail` **请求方式:** - GET **参数:** |参数名 |必选 |类型 |说明 | | ------ | ------ | ------ |------ | |id |是 |integer | | **返回示例** ``` { "code": 1, "show": 0, "msg": "", "data": { "id": 7, "scene_id": 106, "scene_name": "订单付款通知", "scene_desc": "订单付款成功时通知买家", "system_notice": { "title": "", "content": "", "status": 0, "tips": [ "可选变量 用户昵称:nickname 订单编号:order_sn 支付时间:pay_time", "亲爱的{nickname},您的订单 {order_sn}已支付成功,商家正在快马加鞭为您安排发货。" ], "is_show": true }, "sms_notice": { "template_id": "", "content": "", "status": 0, "tips": [ "可选变量 用户昵称:nickname 订单编号:order_sn 支付时间:pay_time", "示例:亲爱的${nickname},您的订单${order_sn}已支付成功,商家正在快马加鞭为您安排发货。", "生效条件:1、管理后台完成短信设置。 2、第三方短信平台申请模板 3、若是腾讯云模板变量名须换成变量名出现顺序对应的数字(例:您好{nickname},您的订单{order_sn}已发货! 须改为 您好{1},您的订单{2}已发货!)" ], "is_show": true }, "oa_notice": { "type": "oa", "template_id": "vbR3qeb18bJYA1bw35Pcu3UEBH3Us", "template_sn": "OPENTM201285651", "name": "订单支付成功通知", "first": "您的订单已支付成功!", "tpl": [ { "tpl_name": "商品名称", "tpl_keyword": "keyword1", "tpl_content": "{goods_name}" }, { "tpl_name": "订单编号", "tpl_keyword": "keyword2", "tpl_content": "{order_sn}" }, { "tpl_name": "支付金额", "tpl_keyword": "keyword3", "tpl_content": "{order_amount}" } ], "remark": "商家正在快马加鞭为您安排发货。", "status": "1", "tips": [ "可选变量 用户昵称:nickname 订单编号:order_sn 支付时间:pay_time", "模板库: 搜索 “订单支付成功通知”,选用类目:软件服务提供商的模板,选用并选择以下参数,提交获得模板ID。", "字段名 字段值 字段内容", "订单编号 character_string1 {order_sn}", "支付时间 time2 {pay_time}", "订单金额 amount3 {order_amount}", "商品名称 thing4 {goods_name}", "配置路径:小程序后台 > 功能 > 订阅消息" ], "is_show": false }, "mnp_notice": { "type": "mnp", "template_id": "9Ln6PVfzOG32BzWrFzYWdY2FeBaY", "template_sn": "6271", "name": "订单支付成功通知", "tpl": [ { "tpl_name": "订单编号", "tpl_keyword": "character_string1", "tpl_content": "{order_sn}" }, { "tpl_name": "支付时间", "tpl_keyword": "time2", "tpl_content": "{pay_time}" }, { "tpl_name": "订单金额", "tpl_keyword": "amount3", "tpl_content": "{order_amount}" }, { "tpl_name": "商品名称", "tpl_keyword": "thing4", "tpl_content": "{goods_name}" } ], "status": "1", "tips": [ "可选变量 用户昵称:nickname 订单编号:order_sn 支付时间:pay_time", "模板库: 搜索 “订单支付成功通知”,选用类目:软件服务提供商的模板,选用并选择以下参数,提交获得模板ID。", "字段名 字段值 字段内容", "订单编号 character_string1 {order_sn}", "支付时间 time2 {pay_time}", "订单金额 amount3 {order_amount}", "商品名称 thing4 {goods_name}", "配置路径:小程序后台 > 功能 > 订阅消息" ], "is_show": false }, "support": "1,2", "default": "" } } ``` **返回参数: |参数名 |类型 |说明 | |:--| |scene_name |string |场景名称 | |scene_desc |string |场景描述 | |recipient_desc |string |接收对象描述 | |type_desc |string |通知类型描述 | |system_notice |object |系统通知设置 | |sms_notice |object |短信通知设置 | |oa_notice |object |公众号模板消息设置 | |mnp_notice |object |小程序订阅消息设置 | |tips |string |默认提示 |