正在显示
2 个修改的文件
包含
1 行增加
和
2 行删除
| @@ -148,7 +148,7 @@ func CheckUserModuleAuth(uid int64) (auth bool) { | @@ -148,7 +148,7 @@ func CheckUserModuleAuth(uid int64) (auth bool) { | ||
| 148 | log.Error(err) | 148 | log.Error(err) |
| 149 | return false | 149 | return false |
| 150 | } else { | 150 | } else { |
| 151 | - log.Debug(req.Url, string(data)) | 151 | + log.Debug(req.Url, uid, string(data)) |
| 152 | } | 152 | } |
| 153 | if message.Errno != 0 { | 153 | if message.Errno != 0 { |
| 154 | log.Debug("CheckUserModuleAuth :", message.Errno, message.Errmsg) | 154 | log.Debug("CheckUserModuleAuth :", message.Errno, message.Errmsg) |
| @@ -448,7 +448,6 @@ func UserInfoV3(header *protocol.RequestHeader, request *protocol.UserInfoReques | @@ -448,7 +448,6 @@ func UserInfoV3(header *protocol.RequestHeader, request *protocol.UserInfoReques | ||
| 448 | } | 448 | } |
| 449 | if userCompanys[i].Id == header.UserId && userCompanys[i].CompanyId == header.CompanyId { | 449 | if userCompanys[i].Id == header.UserId && userCompanys[i].CompanyId == header.CompanyId { |
| 450 | companyId = header.CompanyId | 450 | companyId = header.CompanyId |
| 451 | - break | ||
| 452 | } | 451 | } |
| 453 | } | 452 | } |
| 454 | //公司列表是所有有权限的公司,企业平台 | 453 | //公司列表是所有有权限的公司,企业平台 |
-
请 注册 或 登录 后发表评论