1234567891011121314151617181920212223 |
- /**********************************************
- ** @Des: This file ...
- ** @Author: haodaquan
- ** @Date: 2017-09-08 10:21:13
- ** @Last Modified by: haodaquan
- ** @Last Modified time: 2017-09-09 18:04:41
- ***********************************************/
- package backgroundc
- type HomeController struct {
- BaseController
- }
- func (self *HomeController) Index() {
- self.Data["pageTitle"] = "系统首页"
- //self.display()
- self.TplName = "public/main.html"
- }
- func (self *HomeController) Start() {
- self.Data["pageTitle"] = "控制面板"
- self.display()
- }
|