This commit is contained in:
arraykeys
2019-08-08 17:13:34 +08:00
parent e8e5966a8c
commit f0bf2d5fec
2885 changed files with 1195993 additions and 12 deletions
@@ -0,0 +1,24 @@
package controllers
import (
system "anytunnel/at-admin/app/controllers"
)
const moduleName = "web"
type BaseController struct {
system.BaseAdminController
}
func (this *BaseController) viewLayoutTitle(title, viewName, layout string) {
this.ViewLayoutTitle(moduleName, title, viewName, layout)
}
func (this *BaseController) viewLayout(viewName, layout string) {
this.ViewLayout(moduleName, viewName, layout)
}
func (this *BaseController) view(viewName string) {
this.View(moduleName, viewName)
}
func (this *BaseController) viewTitle(title, viewName string) {
this.ViewTitle(moduleName, title, viewName)
}