diff --git a/business/auth2/authprovider/defauther.go b/business/auth2/authprovider/defauther.go index 18e80688e..39d9cf4e4 100644 --- a/business/auth2/authprovider/defauther.go +++ b/business/auth2/authprovider/defauther.go @@ -83,7 +83,7 @@ func (a *DefAuther) UnionFindAuthBind(curAuthType, curAuthTypeID string, unionAu if unionID != "" || openID != "" { // 且有unionID var authBindList []*model.AuthBind globals.SugarLogger.Debug("输出一下", unionAuthTypeList) - globals.SugarLogger.Debug("=====================输出一下openID,unionID", openID, unionID) + globals.SugarLogger.Debug("=====================输出一下model.AuthBindTypeAuth,openID,unionID", model.AuthBindTypeAuth, unionAuthTypeList, openID, unionID) if authBindList, err = dao.GetUserBindAuthInfo(db, "", model.AuthBindTypeAuth, unionAuthTypeList, openID, unionID, nil); err == nil && len(authBindList) > 0 { // 通过unionID找到至少一个认证方式 authBind = authBindList[0] authBind.Type = curAuthType