ziwen 1 년 전
부모
커밋
39bd161c74
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      controllers/cygx/yanxuan_special.go

+ 5 - 0
controllers/cygx/yanxuan_special.go

@@ -212,6 +212,11 @@ func (this *YanxuanSpecialController) List() {
 			}
 			v.Docs = docs
 		}
+		if v.Type == 1 {
+			v.Title = "【笔记】"+v.Title
+		} else if v.Type == 2 {
+			v.Title = "【观点】"+v.Title
+		}
 	}
 
 	br.Data = list