This commit is contained in:
richboo111
2022-08-11 15:06:33 +08:00
parent 81480ffe01
commit f15b85bbe7
2 changed files with 11 additions and 10 deletions

View File

@@ -99,6 +99,7 @@ func (a *DefAuther) UnionFindAuthBind(curAuthType, curAuthTypeID string, unionAu
}
a.UnbindAuth(authBind.UserID, curAuthType, curAuthTypeID, model.AdminName)
err = a.AddAuthBind(authBindEx, model.AdminName) // 自动绑定
globals.SugarLogger.Debug("authBindEx AddAuthBind err============", authBindEx, err)
} else if dao.IsNoRowsError(err) {
err = nil
}