ziwen 1 년 전
부모
커밋
655000cec5
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)