123456789101112131415161718 |
- package controllers
- import (
- "github.com/astaxie/beego"
- )
- type MainController struct {
- beego.Controller
- }
- func (c *MainController) Get() {
- c.Data["Website"] = "beego.me"
- c.Data["Email"] = "lyq@yoqi.me"
- c.TplName = "index.tpl"
- }
- func (c *MainController)GetUser() {
-
- }
|