mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-11-23 02:39:26 +08:00
16 lines
260 B
Go
16 lines
260 B
Go
package controllers
|
|
|
|
import (
|
|
beego "github.com/beego/beego/v2/server/web"
|
|
)
|
|
|
|
type MainController struct {
|
|
beego.Controller
|
|
}
|
|
|
|
func (c *MainController) Get() {
|
|
c.Data["Website"] = "beego.me"
|
|
c.Data["Email"] = "astaxie@gmail.com"
|
|
c.TplName = "index.tpl"
|
|
}
|