正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -298,7 +298,7 @@ func (svr AuthService) OrgSwitch(switchOrgCommand *command.SwitchOrgCommand) (in | @@ -298,7 +298,7 @@ func (svr AuthService) OrgSwitch(switchOrgCommand *command.SwitchOrgCommand) (in | ||
298 | userId = int64(vInt) | 298 | userId = int64(vInt) |
299 | } | 299 | } |
300 | } | 300 | } |
301 | - user, err := svr.getUserInfo(domain.Operator{UserId: userId}) | 301 | + user, err := svr.getUserInfo(domain.Operator{UserId: userId, OrgId: loginToken.OrgId}) |
302 | if err != nil { | 302 | if err != nil { |
303 | return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) | 303 | return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error()) |
304 | } | 304 | } |
-
请 注册 或 登录 后发表评论