{
"id": 17,
"template_name": "订单付款通知 [order_pay_email]",
"template_content": "<p>亲爱的{$order.consignee}。你好!<br><br><br>您的订单{$order.order_sn}已付款,我们将尽快为你发货,感谢您的惠顾!。<a href=\"{$order.order_url}\" target=\"_blank\">查看订单</a> 再次感谢您对我们的支持。欢迎您的再次光临。 <br><br><br>{$shop_name} <br><br>{$send_date}</p>",
"template_code": "order_pay_email",
"is_html": 1,
"template_subject": "订单付款通知",
"last_modify": 1704788682,
"last_send": 0,
"type": "template"
}
curl --location --request POST '/adminapi/setting/mail_templates/update' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 17,
"template_name": "订单付款通知 [order_pay_email]",
"template_content": "<p>亲爱的{$order.consignee}。你好!<br><br><br>您的订单{$order.order_sn}已付款,我们将尽快为你发货,感谢您的惠顾!。<a href=\"{$order.order_url}\" target=\"_blank\">查看订单</a> 再次感谢您对我们的支持。欢迎您的再次光临。 <br><br><br>{$shop_name} <br><br>{$send_date}</p>",
"template_code": "order_pay_email",
"is_html": 1,
"template_subject": "订单付款通知",
"last_modify": 1704788682,
"last_send": 0,
"type": "template"
}'
{
"code": 0,
"msg": "ok",
"data": {
"errcode": 0,
"message": "邮件模板设置更新成功"
}
}