del
This commit is contained in:
@@ -167,9 +167,7 @@ func RegisterUserWithMobile(ctx *jxcontext.Context, user *model.User, mobileVeri
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
fmt.Println("test111111111111111111111111111111", utils.Format4Output(mobileAuth, false))
|
|
||||||
if mobileAuth != nil && !mobileAuth.IsUserEmpty() {
|
if mobileAuth != nil && !mobileAuth.IsUserEmpty() {
|
||||||
fmt.Println("test22222222222222222222222222222222222")
|
|
||||||
return nil, jsonerr.New(mobileAuth, model.ErrCodeJsonUserAlreadyExist)
|
return nil, jsonerr.New(mobileAuth, model.ErrCodeJsonUserAlreadyExist)
|
||||||
|
|
||||||
// auth2.RemoveUserInfo(mobileAuth.Token)
|
// auth2.RemoveUserInfo(mobileAuth.Token)
|
||||||
@@ -213,7 +211,6 @@ func RegisterUserWithMobile(ctx *jxcontext.Context, user *model.User, mobileVeri
|
|||||||
} else if dao.IsDuplicateError(err) {
|
} else if dao.IsDuplicateError(err) {
|
||||||
err = auth2.ErrUserID2AlreadyExist
|
err = auth2.ErrUserID2AlreadyExist
|
||||||
}
|
}
|
||||||
fmt.Println("test333333333333333333333333333333", utils.Format4Output(outAuthInfo, false))
|
|
||||||
return outAuthInfo, err
|
return outAuthInfo, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user