Răsfoiți Sursa

Merge branch 'cygx_12.0' into debug

ziwen 1 an în urmă
părinte
comite
49060acf8d
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      controllers/yanxuan_special.go

+ 4 - 4
controllers/yanxuan_special.go

@@ -165,13 +165,13 @@ func (this *YanxuanSpecialController) Detail() {
 		resp.Docs = docs
 	}
 	if item.CompanyTags != "" {
-		item.Tags += item.CompanyTags
+		resp.Tags += item.CompanyTags
 	}
 	if item.IndustryTags != "" {
-		if item.Tags != "" {
-			item.Tags += ","
+		if resp.Tags != "" {
+			resp.Tags += ","
 		}
-		item.Tags += item.IndustryTags
+		resp.Tags += item.IndustryTags
 	}
 
 	go services.AddSpecialRecord(this.User, specialId)