瀏覽代碼

Merge branch 'cygx_12.0' into debug

ziwen 1 年之前
父節點
當前提交
49060acf8d
共有 1 個文件被更改,包括 4 次插入4 次删除
  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)