Commit 81f68da8 authored by chenchuanwen's avatar chenchuanwen

orderCancelBug

parent 6f67ba59
...@@ -578,7 +578,7 @@ class OrderServiceModel extends \Business\AbstractModel ...@@ -578,7 +578,7 @@ class OrderServiceModel extends \Business\AbstractModel
$storeDao=\DAO\StoreModel::getInstance(); $storeDao=\DAO\StoreModel::getInstance();
//判断订单目前状态是否允许取消 //判断订单目前状态是否允许取消
$isAllowCancel = $orderDao->isAllowCancel($order); $isAllowCancel = $orderDao->isAllowCancel($order);
$isAllowCancel = true; //$isAllowCancel = true;
if ($isAllowCancel) { if ($isAllowCancel) {
$orderDao->db->doTransaction(); $orderDao->db->doTransaction();
$res = $orderDao->updateStatusByOrderId($orderId, ApiConst::orderStateCancel,false,ApiConst::cancelOrderBySelf); $res = $orderDao->updateStatusByOrderId($orderId, ApiConst::orderStateCancel,false,ApiConst::cancelOrderBySelf);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment