修改用户列表查询,接入阿里云短信服务

This commit is contained in:
chy
2025-06-13 17:45:32 +08:00
parent 6c69eceeb1
commit 86ee1dfe49
10 changed files with 363 additions and 3 deletions

View File

@ -49,6 +49,9 @@ func init() {
}
// 用户
{
// 发送短信
enforcer.AddPolicy("user", "/x/sms/send", "POST", "发送短信")
// 上传图片
enforcer.AddPolicy("user", "/x/upload/image", "POST", "上传图片")
enforcer.AddPolicy("user", "/x/upload/user", "POST", "上传头像图片")