作者 yangfu

Merge branch 'dev' into test

... ... @@ -417,6 +417,7 @@ type(
CompanyId int64 `json:"companyId"`
CompanyName string `json:"companyName"`
Code string `json:"code"`
CompanyVisible bool `json:"companyVisible"`
}
UserStatisticsRequest{
UserId int64 `json:"userId,optional"`
... ...
... ... @@ -98,6 +98,7 @@ func (l *SystemUserInfoLogic) SystemUserInfo(req *types.SystemUserInfoRequest) (
}
}
}
resp.CompanyVisible = company.Visible == 1
err = l.initSystemData(companyId)
if err != nil {
return nil, err
... ...
... ... @@ -725,6 +725,7 @@ type SystemUserInfoResponse struct {
CompanyId int64 `json:"companyId"`
CompanyName string `json:"companyName"`
Code string `json:"code"`
CompanyVisible bool `json:"companyVisible"`
}
type UserStatisticsRequest struct {
... ...