Commit 1977320f authored by chenchuanwen's avatar chenchuanwen

cancelOrder

parent eb0bf4ee
......@@ -481,12 +481,13 @@ class OrderServiceModel extends \Business\AbstractModel
//$orderGoodsUpdateData['refund_state_name']='退款成功';
$orderGoodsUpdateData['is_refund']=ApiConst::refundSuccess;
$orderGoodsDao->update($where,$orderGoodsUpdateData);
$orderDao->db->doCommit();
}else{
$orderDao->db->doRollback();
ErrorModel::throwException(CodeConfigModel::cancelRefundMoneyError);
}
}
$orderDao->db->doCommit();
$push=\Our\Push::getInstance();
$pushData=array('storeId'=>$order['storeId'],
'type'=>ApiConst::messageWaitReceive,
......
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