Browse Source

Merge branch 'cygx_12.0' into debug

ziwen 1 year ago
parent
commit
49060acf8d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      controllers/yanxuan_special.go

+ 4 - 4
controllers/yanxuan_special.go

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