[ADD]静态页面导入

This commit is contained in:
2019-06-26 13:24:21 +08:00
parent 4e160f70b9
commit db1391ef40
127 changed files with 1544 additions and 19 deletions

10
controllers/error.go Normal file
View File

@@ -0,0 +1,10 @@
package controllers
type ErrorController struct {
BaseController
}
func (c *ErrorController) Error404() {
c.Data["Content"] = "Page not found"
c.TplName = "error/404.html"
}