Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
//查询单页内容
40
func
(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
Pages
Method · 0.80
Edit
Method · 0.80
UserInfo
Method · 0.80
GetUserField
Method · 0.80
Reg
Method · 0.80
GetParseContentByDocId
Method · 0.80
IsFreeDown
Method · 0.80
installFriendlinks
Function · 0.80
installPages
Function · 0.80
installSeo
Function · 0.80
installCategory
Function · 0.80
GetByPage
Method · 0.80
Calls
1
GetTablePages
Function · 0.85
Tested by
no test coverage detected