API 报错

This commit is contained in:
董海洋
2026-06-04 08:20:49 +08:00
parent 21d0277a77
commit 5300551e21
7 changed files with 332 additions and 9 deletions
+3
View File
@@ -7,6 +7,9 @@ const router = new Router()
// 创建支付(需要用户登录)
router.post('/create', requireAuth(), paymentController.createPayment)
// 查询支付结果(需要用户登录)
router.get('/query/:orderId', requireAuth(), paymentController.queryPayment)
// 微信支付回调(无需登录)
router.post('/notify', paymentController.paymentNotify)