ziwen 1 жил өмнө
parent
commit
39bd161c74

+ 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