default.go 399 字节
package v1

import (
	"gitlab.fjmaimaimai.com/mmm-go/gocomm/pkg/mybeego"
)

type MainController struct {
	mybeego.BaseController
}

// URLMapping ...
func (this *MainController) URLMapping() {
	//this.Mapping("Get", this.Get)
	//this.Mapping("Hello", this.Hello)
}

func (c *MainController) Get() {
	c.Data["Website"] = "beego.me"
	c.Data["Email"] = "astaxie@gmail.com"
	c.TplName = "index.tpl"
}