From 6e937674438e723b35405581db35bb025cd8abf1 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Mon, 3 Jul 2023 18:28:12 +0800 Subject: [PATCH] wxlogin --- business/auth2/authprovider/defauther.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/auth2/authprovider/defauther.go b/business/auth2/authprovider/defauther.go index 0cfab4961..b58729897 100644 --- a/business/auth2/authprovider/defauther.go +++ b/business/auth2/authprovider/defauther.go @@ -111,7 +111,6 @@ func (a *DefAuther) UnionFindAuthBind(curAuthType, curAuthTypeID string, unionAu } a.UnbindAuth(authBind.UserID, curAuthType, curAuthTypeID, model.AdminName) err = a.AddAuthBind(authBindEx, model.AdminName) // 自动绑定 - globals.SugarLogger.Debugf("authBindList err=%v", err) } else if dao.IsNoRowsError(err) { globals.SugarLogger.Debugf("dao.IsNoRowsError(err)=%s,err=%v", dao.IsNoRowsError(err), err) err = nil @@ -120,6 +119,7 @@ func (a *DefAuther) UnionFindAuthBind(curAuthType, curAuthTypeID string, unionAu err = nil } } + globals.SugarLogger.Debugf("authBindList err=%v", err) if err == nil && authBindEx == nil { //如果没有报错,且没有找到一个认证方式,创建无用户(UserID为空)的认证方式 authBindEx = &auth2.AuthBindEx{ AuthBind: model.AuthBind{