API 报错
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user