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

Method Error404

controllers/AdminControllers/BaseController.go:86–92  ·  view source on GitHub ↗

404

()

Source from the content-addressed store, hash-verified

84
85//404
86func (this *BaseController) Error404() {
87 this.Layout = ""
88 this.Data["content"] = "Page Not Foud"
89 this.Data["code"] = "404"
90 this.Data["content_zh"] = "页面被外星人带走了"
91 this.TplName = "error.html"
92}
93
94//501
95func (this *BaseController) Error501() {

Callers 2

UpdatePwdMethod · 0.45
UpdateAdminMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected