mirror of
https://github.com/kongyuebin1/dongfeng-pay.git
synced 2025-11-01 11:17:33 +08:00
商店模拟系统升级
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
package routers
|
||||
|
||||
import (
|
||||
beego "github.com/beego/beego/v2/server/web"
|
||||
"github.com/beego/beego/v2/server/web"
|
||||
"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")
|
||||
web.Router("/", &controllers.HomeAction{}, "*:ShowHome") //初始化首页
|
||||
web.Router("/pay.html", &controllers.PayController{}, "*:Pay")
|
||||
web.Router("/pay_requst.html", &controllers.ScanShopController{})
|
||||
web.Router("/scan.html", &controllers.ScanShopController{}, "*:ScanRender")
|
||||
web.Router("/error.html", &controllers.HomeAction{}, "*:ErrorPage")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user