验证
This commit is contained in:
@@ -211,6 +211,7 @@ func RegisterUserWithMobile(ctx *jxcontext.Context, user *model.User, mobileVeri
|
|||||||
userProvider.UpdateLastLogin(user.GetID(), authType, ctx.GetRealRemoteIP())
|
userProvider.UpdateLastLogin(user.GetID(), authType, ctx.GetRealRemoteIP())
|
||||||
TryAddStoreBossRole4User(ctx, user)
|
TryAddStoreBossRole4User(ctx, user)
|
||||||
if mobileAuth != nil {
|
if mobileAuth != nil {
|
||||||
|
fmt.Println("test111111111111111111111111111111111111", utils.Format4Output(user, false))
|
||||||
if outAuthInfo, err = auth2.BindUser(mobileAuth, user); err == nil && inAuthInfo != nil {
|
if outAuthInfo, err = auth2.BindUser(mobileAuth, user); err == nil && inAuthInfo != nil {
|
||||||
err = auth2.AddAuthBind(&outAuthInfo.UserBasic, inAuthInfo)
|
err = auth2.AddAuthBind(&outAuthInfo.UserBasic, inAuthInfo)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user