企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
**简要描述:** - 通知设置 **请求URL:** - `/adminapi/notice.notice/set` **请求方式:** - POST **传参示例** ``` { "id":18, "template": [ { "type": "system", "title": "订单付款通知", "content": "亲爱的{nickname},您的订单 {order_sn}已支付成功,商家正在快马加鞭为您安排发货。", "status": 1 }, { "type": "sms", "template_id": "aNe33333323lgXjBk", "content": "亲爱的${nickname},您的订单${order_sn}已支付成功,商家正在快马加鞭为您安排发货。", "status": 1 }, { "type": "oa", "template_id": "aNesjOwY8s4Z38EGNh-v7lgXj232Bkw8DHG0", "template_sn": "3637", "name": "订单发货通知", "first": "您的订单已支付成功!", "remark": "商家正在快马加鞭为您安排发货。", "tpl": [ { "tpl_name": "商品名称", "tpl_keyword": " thing1", "tpl_content": " {goods_name}" }, { "tpl_name": "订单号", "tpl_keyword": "character_string2", "tpl_content": "{order_sn}" } ], "status": 1 }, { "type": "mnp", "template_id": "aNesjOwY23OQrd8EGN3237lgXjBkw8DHG0", "template_sn": "3637", "name": "订单发货通知", "tpl": [ { "tpl_name": "商品名称", "tpl_keyword": " thing1", "tpl_content": " {goods_name}" }, { "tpl_name": "订单号", "tpl_keyword": "character_string2", "tpl_content": "{order_sn}" } ], "status": 1 } ] } ``` **返回示例** { "code": 1, "show": 0, "msg": "设置成功", "data": [] }