...
|
...
|
@@ -82,8 +82,9 @@ const order = { |
|
|
const orderCode = req.body.orderCode;
|
|
|
const reasonId = req.body.reasonId;
|
|
|
const reason = req.body.reason;
|
|
|
const uid = req.user.uid;
|
|
|
|
|
|
orderModel.cancelOrder(orderCode, reasonId, reason).then(result => {
|
|
|
orderModel.cancelOrder(uid, orderCode, reasonId, reason).then(result => {
|
|
|
return res.json(result);
|
|
|
}).catch(next);
|
|
|
},
|
...
|
...
|
|