增加支付功能

This commit is contained in:
2026-09-15 12:46:29 +08:00
parent 943c3708b0
commit a82b300b1a
46 changed files with 11675 additions and 21 deletions
+8
View File
@@ -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 租户角色管理路由。