feat: 添加Yggdrasil密码重置功能,更新依赖和配置
This commit is contained in:
@@ -50,6 +50,7 @@ func RegisterUser(jwtService *auth.JWTService, username, password, email, avatar
|
||||
Role: "user",
|
||||
Status: 1,
|
||||
Points: 0, // 初始积分可以从配置读取
|
||||
// Properties 字段使用 datatypes.JSON,默认为 nil,数据库会存储 NULL
|
||||
}
|
||||
|
||||
if err := repository.CreateUser(user); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user