Merge branch 'dev' of http://gitlab.fjmaimaimai.com/allied-creation/sumifcc-discuss into dev
正在显示
3 个修改的文件
包含
9 行增加
和
6 行删除
| @@ -417,6 +417,7 @@ type( | @@ -417,6 +417,7 @@ type( | ||
| 417 | CompanyId int64 `json:"companyId"` | 417 | CompanyId int64 `json:"companyId"` |
| 418 | CompanyName string `json:"companyName"` | 418 | CompanyName string `json:"companyName"` |
| 419 | Code string `json:"code"` | 419 | Code string `json:"code"` |
| 420 | + CompanyVisible bool `json:"companyVisible"` | ||
| 420 | } | 421 | } |
| 421 | UserStatisticsRequest{ | 422 | UserStatisticsRequest{ |
| 422 | UserId int64 `json:"userId,optional"` | 423 | UserId int64 `json:"userId,optional"` |
| @@ -98,6 +98,7 @@ func (l *SystemUserInfoLogic) SystemUserInfo(req *types.SystemUserInfoRequest) ( | @@ -98,6 +98,7 @@ func (l *SystemUserInfoLogic) SystemUserInfo(req *types.SystemUserInfoRequest) ( | ||
| 98 | } | 98 | } |
| 99 | } | 99 | } |
| 100 | } | 100 | } |
| 101 | + resp.CompanyVisible = company.Visible == 1 | ||
| 101 | err = l.initSystemData(companyId) | 102 | err = l.initSystemData(companyId) |
| 102 | if err != nil { | 103 | if err != nil { |
| 103 | return nil, err | 104 | return nil, err |
| @@ -719,12 +719,13 @@ type SystemUserInfoRequest struct { | @@ -719,12 +719,13 @@ type SystemUserInfoRequest struct { | ||
| 719 | } | 719 | } |
| 720 | 720 | ||
| 721 | type SystemUserInfoResponse struct { | 721 | type SystemUserInfoResponse struct { |
| 722 | - UserId int64 `json:"userId"` | ||
| 723 | - UserName string `json:"userName"` | ||
| 724 | - Avatar string `json:"avatar"` | ||
| 725 | - CompanyId int64 `json:"companyId"` | ||
| 726 | - CompanyName string `json:"companyName"` | ||
| 727 | - Code string `json:"code"` | 722 | + UserId int64 `json:"userId"` |
| 723 | + UserName string `json:"userName"` | ||
| 724 | + Avatar string `json:"avatar"` | ||
| 725 | + CompanyId int64 `json:"companyId"` | ||
| 726 | + CompanyName string `json:"companyName"` | ||
| 727 | + Code string `json:"code"` | ||
| 728 | + CompanyVisible bool `json:"companyVisible"` | ||
| 728 | } | 729 | } |
| 729 | 730 | ||
| 730 | type UserStatisticsRequest struct { | 731 | type UserStatisticsRequest struct { |
-
请 注册 或 登录 后发表评论