fix login
This commit is contained in:
		| @@ -61,6 +61,8 @@ func (l *MobileCodeLoginLogic) MobileCodeLogin(req *types.MobileCodeLoginReq) (r | ||||
| 		if err != nil { | ||||
| 			return nil, errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "手机登录, 注册用户失败: %+v", err) | ||||
| 		} | ||||
| 	} else { | ||||
| 		userID = user.Id | ||||
| 	} | ||||
| 	token, err := l.svcCtx.UserService.GeneralUserToken(l.ctx, userID) | ||||
| 	if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user