zhangchuanxing 4 hónapja
szülő
commit
e42d56650d

+ 2 - 0
controllers/cygx/industrial_subject.go

@@ -675,9 +675,11 @@ func (this *IndustrialSubjectController) IndustrialAndSubjectSearch() {
 		item := new(cygx.CygxIndustrialSubjectListRep)
 		item.IndustryName = v.IndustryName
 		item.IndustrialManagementId = v.IndustrialManagementId
+		item.ShowName = v.IndustryName
 		listResp = append(listResp, item)
 	}
 	for _, v := range listSubject {
+		v.ShowName = v.SubjectName
 		listResp = append(listResp, v)
 	}
 	resp := new(cygx.CygxIndustrialSubjectList)

+ 1 - 0
models/cygx/industrial_subject.go

@@ -230,6 +230,7 @@ type CygxIndustrialSubjectListRep struct {
 	IndustrialManagementId int    `description:"产业id"`
 	SubjectName            string `description:"标的名称"`
 	IndustryName           string `description:"分析师名称"`
+	ShowName               string `description:"产业与标的展示名称"`
 }
 
 type CygxIndustrialSubjectList struct {