+ AuthBind中添加BindType
- 合并函数GetAuthBindsByAuthID2 - User中的mobile与email改为可为null
This commit is contained in:
@@ -435,5 +435,5 @@ func DisableUser(userID, operatorUserName string) (err error) {
|
||||
}
|
||||
|
||||
func GetUserBindAuthInfo(userID string) (authList []*model.AuthBind, err error) {
|
||||
return dao.GetUserBindAuthInfo(dao.GetDB(), userID)
|
||||
return dao.GetUserBindAuthInfo(dao.GetDB(), userID, model.AuthBindTypeAuth, "", nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user