{
"code": "mail_server",
"mail_service": 1,
"smtp_ssl": 1,
"smtp_host": "smtp.exmail.qq.com",
"smtp_port": "465",
"smtp_user": "email@lyecs.com",
"smtp_pass": "Yang!@#66889",
"smtp_mail": "email@lyecs.com",
"mail_charset": "UTF8",
"test_mail_address": "405538691@qq.com"
}curl --location --request POST '/adminapi/setting/config/save_mail' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "mail_server",
"mail_service": 1,
"smtp_ssl": 1,
"smtp_host": "smtp.exmail.qq.com",
"smtp_port": "465",
"smtp_user": "email@lyecs.com",
"smtp_pass": "Yang!@#66889",
"smtp_mail": "email@lyecs.com",
"mail_charset": "UTF8",
"test_mail_address": "405538691@qq.com"
}'{
"code": 0,
"msg": "ok",
"data": {
"errcode": 0,
"message": "设置项更新成功"
}
}