浏览代码

Merge branch 'cygx_12.0' into debug

ziwen 1 年之前
父节点
当前提交
5981fc312e
共有 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
 			v.Docs = docs
 		}
 		}
+		if v.Type == 1 {
+			v.Title = "【笔记】"+v.Title
+		} else if v.Type == 2 {
+			v.Title = "【观点】"+v.Title
+		}
 	}
 	}
 
 
 	br.Data = list
 	br.Data = list