Authorization: ********************{
"name": "阿里云短信",
"provider": 1,
"access_key_id": "LTAI5txxxxxxxxxx",
"access_key_secret": "xxxxxxxxxxxxxx",
"endpoint": "dysmsapi.aliyuncs.com",
"status": 1
}curl --location '/admin/sms/config/save' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "阿里云短信",
"provider": 1,
"access_key_id": "LTAI5txxxxxxxxxx",
"access_key_secret": "xxxxxxxxxxxxxx",
"endpoint": "dysmsapi.aliyuncs.com",
"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",
"name": "string",
"provider": 1,
"access_key_id": "string",
"endpoint": "dysmsapi.aliyuncs.com",
"status": 1,
"remark": "string"
}
}