mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2024-11-15 06:59:20 +08:00
15 lines
461 B
Go
15 lines
461 B
Go
|
package routers
|
||
|
|
||
|
import (
|
||
|
"github.com/astaxie/beego"
|
||
|
"juhe/shop/controllers"
|
||
|
)
|
||
|
|
||
|
func init() {
|
||
|
beego.Router("/", &controllers.HomeAction{}, "*:ShowHome") //初始化首页
|
||
|
beego.Router("/pay.html", &controllers.PayController{}, "*:Pay")
|
||
|
beego.Router("/pay_requst.html", &controllers.ScanShopController{})
|
||
|
beego.Router("/scan.html", &controllers.ScanShopController{}, "*:ScanRender")
|
||
|
beego.Router("/error.html", &controllers.HomeAction{}, "*:ErrorPage")
|
||
|
}
|