Commit 0a3d8876 authored by chenchuanwen's avatar chenchuanwen

ccw

parent 398bbc9f
......@@ -168,6 +168,9 @@ class RefundServiceModel extends \Business\AbstractModel
}
}
$refundUpdate = array('gmt_update' => TIMESTAMP, 'refund_state' => 3);
if($refund['is_suc_refund']!=ApiConst::refundSuccess){
$refundUpdate['refund_state']=ApiConst::refundStateProccess;
}
$res = $refundReturnDao->update(array('refund_id' => $refund['refund_id']), $refundUpdate);
if (!$res) {
ErrorModel::throwException(CodeConfigModel::refundWriteError);
......
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