This commit is contained in:
richboo111
2022-08-11 15:15:05 +08:00
parent f15b85bbe7
commit 3b0c5e6895
2 changed files with 1 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ type IAuther interface {
SendVerifyCode(authID string) (verifyCode string, err error)
// 负责验证secret并找到相应的用户返回password,email,mobile类型的不负责用户查找如果找不到用户UserID为空
VerifySecret(authID, authSecret string) (authBindEx *AuthBindEx, err error)
pay(authBindEx *AuthBindEx, userName string) (err error)
AddAuthBind(authBindEx *AuthBindEx, userName string) (err error)
UnbindAuth(userID, authType, authTypeID, userName string) (err error)
Logout(authInfo *AuthInfo) (err error)
GetUserType() (userType int8)