...
|
...
|
@@ -11,6 +11,6 @@ const router = require('express').Router(); // eslint-disable-line |
|
|
const alipayController = require('./middleware/alipay.controller');
|
|
|
const auth = require('./middleware/auth');
|
|
|
|
|
|
router.post('/submit', alipayController.submit);
|
|
|
router.post('/submit', auth, alipayController.submit);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|