Browse Source

Merge branch 'cygx/cygx_14.0' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

zhangchuanxing 3 months ago
parent
commit
d91dd193eb
2 changed files with 7 additions and 3 deletions
  1. 3 0
      controllers/report.go
  2. 4 3
      models/report.go

+ 3 - 0
controllers/report.go

@@ -298,6 +298,9 @@ func (this *ReportController) IndustryList() {
 	if len(industrialUninterested) > 0 && isOpen == 0 {
 		resp.IsShowOpen = true
 	}
+	if isOpen == 0 {
+		resp.IsInterested = true
+	}
 	br.Ret = 200
 	br.Success = true
 	br.Msg = "获取成功"

+ 4 - 3
models/report.go

@@ -9,9 +9,10 @@ import (
 )
 
 type IndustrialManagementList struct {
-	Paging     *paging.PagingItem
-	List       []*IndustrialManagement
-	IsShowOpen bool `description:"是否展示展开字段"`
+	Paging       *paging.PagingItem
+	List         []*IndustrialManagement
+	IsShowOpen   bool `description:"是否展示展开字段"`
+	IsInterested bool `description:"是否属于感兴趣部分"`
 }
 
 type IndustrialManagement struct {