修改接口
This commit is contained in:
@@ -14,5 +14,6 @@ router.post('/', orderController.createOrder)
|
||||
|
||||
// 更新订单状态
|
||||
router.put('/:id', orderController.updateOrder)
|
||||
router.put('/:id/status', orderController.updateOrder)
|
||||
|
||||
module.exports = router.routes()
|
||||
|
||||
Reference in New Issue
Block a user