MCPcopy Index your code
hub / github.com/TruthHun/DocHub / Get

Method Get

controllers/AdminControllers/SingleController.go:16–20  ·  view source on GitHub ↗

单页列表

()

Source from the content-addressed store, hash-verified

14
15//单页列表
16func (this *SingleController) Get() {
17 this.Data["IsSingle"] = true
18 this.Data["Lists"], _, _ = models.NewPages().List(1000)
19 this.TplName = "index.html"
20}
21
22//单页编辑,只编辑文本内容
23func (this *SingleController) Edit() {

Callers

nothing calls this directly

Calls 1

ListMethod · 0.45

Tested by

no test coverage detected