MCPcopy Create free account
hub / github.com/TruthHun/DocHub / One

Method One

models/PagesModel.go:40–43  ·  view source on GitHub ↗

查询单页内容

(alias string)

Source from the content-addressed store, hash-verified

38
39//查询单页内容
40func (this *Pages) One(alias string) (page Pages, err error) {
41 err = orm.NewOrm().QueryTable(GetTablePages()).Filter("Alias", alias).One(&page)
42 return page, err
43}

Callers 15

PagesMethod · 0.80
EditMethod · 0.80
UserInfoMethod · 0.80
GetUserFieldMethod · 0.80
RegMethod · 0.80
IsFreeDownMethod · 0.80
installFriendlinksFunction · 0.80
installPagesFunction · 0.80
installSeoFunction · 0.80
installCategoryFunction · 0.80
GetByPageMethod · 0.80

Calls 1

GetTablePagesFunction · 0.85

Tested by

no test coverage detected