fix tempuser token general
This commit is contained in:
		| @@ -153,7 +153,7 @@ func (l *ApplyForAgentLogic) ApplyForAgent(req *types.AgentApplyReq) (resp *type | ||||
| 	if transErr != nil { | ||||
| 		return nil, transErr | ||||
| 	} | ||||
| 	token, err := l.svcCtx.UserService.GeneralUserToken(l.ctx, userID) | ||||
| 	token, err := l.svcCtx.UserService.GeneralUserToken(l.ctx, userID, model.UserTypeNormal) | ||||
| 	if err != nil { | ||||
| 		return nil, errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "手机登录, 生成token失败 : %d", userID) | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user