diff --git a/business/auth2/auth2.go b/business/auth2/auth2.go index 3666fe313..fdd440947 100644 --- a/business/auth2/auth2.go +++ b/business/auth2/auth2.go @@ -402,10 +402,8 @@ func AddAuthBindWithMobile(authInfo *AuthInfo, mobile string) (err error) { if err != nil { return errors.New("此接口有执行顺序,请先调用注册登录接口:【第一步:Login,第二不:TiktokDecrypt】") } - globals.SugarLogger.Debug("输出user.UserID", user.UserID) authInfo.AuthBindInfo.UserID = user.UserID //handler.UnbindAuth(user.GetID(), newAuthInfo.GetAuthType(), newAuthInfo.GetAuthTypeID(), user.GetName()) - globals.SugarLogger.Debug("authInfo.AuthBindInfo,user.GetName()===============", authInfo.AuthBindInfo, user.GetName()) err = handler.AddAuthBind(authInfo.AuthBindInfo, user.GetName()) } else { err = ErrIllegalAuthType