Authorization: ********************{
"config_id": 1,
"name": "登录验证码",
"template_code": "SMS_123456789",
"type": 1,
"content": "您的验证码为${code},5分钟内有效。",
"status": 1
}curl --location '/admin/sms/template/save' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"config_id": 1,
"name": "登录验证码",
"template_code": "SMS_123456789",
"type": 1,
"content": "您的验证码为${code},5分钟内有效。",
"status": 1
}'{
"code": 0,
"msg": "success",
"data": {
"id": 1,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"config_id": 0,
"name": "string",
"template_code": "SMS_123456789",
"type": 1,
"content": "string",
"status": 1,
"remark": "string"
}
}