|
@@ -591,9 +591,17 @@ func (this *CompanyController) CompanyShareList() {
|
|
if companyLists == nil {
|
|
if companyLists == nil {
|
|
companyLists = make([]*company.CompanyListItem, 0)
|
|
companyLists = make([]*company.CompanyListItem, 0)
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ var isShareGroup bool
|
|
|
|
+ if sysUser.GroupId == groupId {
|
|
|
|
+ isShareGroup = true
|
|
|
|
+ }
|
|
|
|
+
|
|
page = paging.GetPaging(currentIndex, pageSize, total)
|
|
page = paging.GetPaging(currentIndex, pageSize, total)
|
|
resp := new(company.CompanyListResp)
|
|
resp := new(company.CompanyListResp)
|
|
resp.List = companyLists
|
|
resp.List = companyLists
|
|
|
|
+ resp.IsShareGroup = isShareGroup
|
|
|
|
+ resp.Status = listParam
|
|
resp.Paging = page
|
|
resp.Paging = page
|
|
br.Ret = 200
|
|
br.Ret = 200
|
|
br.Success = true
|
|
br.Success = true
|