Răsfoiți Sursa

fix: 活动-主题列表

hsun 2 ani în urmă
părinte
comite
6617b2f659
2 a modificat fișierele cu 8 adăugiri și 6 ștergeri
  1. 1 0
      controllers/activity.go
  2. 7 6
      models/activity.go

+ 1 - 0
controllers/activity.go

@@ -2871,6 +2871,7 @@ func (this *ActivityCoAntroller) ActivityListNew() {
 			return
 		}
 		if sourceIndustry != nil {
+			resp.IndustrialManagementId = sourceIndustry.IndustrialManagementId
 			resp.IsJump = true
 			if sourceIndustry.ChartPermissionId == utils.CHART_PERMISSION_ID_YANXUAN {
 				resp.IsResearch = true

+ 7 - 6
models/activity.go

@@ -259,12 +259,13 @@ type CygxActivityList struct {
 }
 
 type GetCygxActivityListRep struct {
-	Paging     *paging.PagingItem `description:"分页数据"`
-	List       []*ActivityDetail
-	Label      string `description:"主题"`
-	ImgUrl     string `description:"图片路径"`
-	IsResearch bool   `description:"是否属于研选"`
-	IsJump     bool   `description:"是否跳转"`
+	Paging                 *paging.PagingItem `description:"分页数据"`
+	List                   []*ActivityDetail
+	Label                  string `description:"主题"`
+	ImgUrl                 string `description:"图片路径"`
+	IsResearch             bool   `description:"是否属于研选"`
+	IsJump                 bool   `description:"是否跳转"`
+	IndustrialManagementId int    `description:"产业ID"`
 }
 
 //列表