正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
@@ -61,7 +61,7 @@ func (service UsersService) UserLoginBySecretKey(cmd command.LoginBySecretKeyCom | @@ -61,7 +61,7 @@ func (service UsersService) UserLoginBySecretKey(cmd command.LoginBySecretKeyCom | ||
61 | AdminCompanyId: loginResp.Data.CompanyId, | 61 | AdminCompanyId: loginResp.Data.CompanyId, |
62 | }) | 62 | }) |
63 | if err != nil { | 63 | if err != nil { |
64 | - e := fmt.Sprintf("获取公司(id=%d)数据失败:%s", loginResp.Data.Muid, err.Error()) | 64 | + e := fmt.Sprintf("获取公司(admin_company_id=%d)数据失败:%s", loginResp.Data.CompanyId, err.Error()) |
65 | return nil, lib.ThrowError(lib.INTERNAL_SERVER_ERROR, e) | 65 | return nil, lib.ThrowError(lib.INTERNAL_SERVER_ERROR, e) |
66 | } | 66 | } |
67 | if !companyData.EnableIsOk() { | 67 | if !companyData.EnableIsOk() { |
@@ -73,8 +73,8 @@ func (service UsersService) UserLoginBySecretKey(cmd command.LoginBySecretKeyCom | @@ -73,8 +73,8 @@ func (service UsersService) UserLoginBySecretKey(cmd command.LoginBySecretKeyCom | ||
73 | CompanyId: companyData.Id, | 73 | CompanyId: companyData.Id, |
74 | }) | 74 | }) |
75 | if err != nil { | 75 | if err != nil { |
76 | - e := fmt.Sprintf("获取用户(OpenId=%d;CompanyId=%d)数据失败:%s", | ||
77 | - loginResp.Data.Id, companyData.Id, err.Error()) | 76 | + e := fmt.Sprintf("获取用户(id=%d;CompanyId=%d)数据失败:%s", |
77 | + loginResp.Data.Muid, companyData.Id, err.Error()) | ||
78 | return nil, lib.ThrowError(lib.INTERNAL_SERVER_ERROR, e) | 78 | return nil, lib.ThrowError(lib.INTERNAL_SERVER_ERROR, e) |
79 | } | 79 | } |
80 | //确认用户权限 | 80 | //确认用户权限 |
-
请 注册 或 登录 后发表评论