fix: issues
This commit is contained in:
@@ -46,9 +46,10 @@ func (r *Routes) Register(router fiber.Router) {
|
||||
))
|
||||
|
||||
// 注册路由组: PayController
|
||||
router.Get("/api/v1/orders/pay/:orderID/js", DataFunc2(
|
||||
r.payController.JSPay,
|
||||
router.Get("/api/v1/orders/pay/:orderID/:channel", DataFunc3(
|
||||
r.payController.Pay,
|
||||
Local[*jwt.Claims]("claim"),
|
||||
PathParam[string]("channel"),
|
||||
PathParam[string]("orderID"),
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user