增加支付功能
This commit is contained in:
@@ -11,6 +11,14 @@ import (
|
||||
func Register() {
|
||||
RegisterAuthRoutes()
|
||||
RegisterRoleRoutes()
|
||||
RegisterPaymentRoutes()
|
||||
}
|
||||
|
||||
// RegisterPaymentRoutes 注册租户端支付路由(下单页 / 收银台)。
|
||||
func RegisterPaymentRoutes() {
|
||||
beego.Router("/backend/payment/channels", &controllers.BackendPaymentController{}, "get:Channels")
|
||||
beego.Router("/backend/payment/create", &controllers.BackendPaymentController{}, "post:Create")
|
||||
beego.Router("/backend/payment/query/:payNo", &controllers.BackendPaymentController{}, "get:Query")
|
||||
}
|
||||
|
||||
// RegisterRoleRoutes 注册 backend 租户角色管理路由。
|
||||
|
||||
Reference in New Issue
Block a user