package
0.0.0-20241003033146-7253f33ec853
Repository: https://github.com/yahahaff/rapide.git
Documentation: pkg.go.dev

# Functions

DisableOpt 关闭OTP info.
GetByEmail 通过 Email 来获取用户.
GetById 通过 用户ID 获取用户Model.
GetByPhone 通过手机号来获取用户.
GetByUsername 通过 username 获取用户Model.
GetOtpSecret 通过 loginId 获取用户opt密钥用于验证OPT.
GetRolesWithChildren 获取角色及其子角色.
IsEmailExist 判断 Email 已被注册.
IsPhoneExist 判断手机号已被注册.
No description provided by the author
SetOptStatus 设置用户OPT 状态.
UpdateOpt 更新OTP info.
UserAll 获取所有用户数据.
UserDeletelById 删除用户.