Commit 52fa73ca authored by zw's avatar zw

时间轴

parent 75f22488
...@@ -165,9 +165,9 @@ class PayLogService ...@@ -165,9 +165,9 @@ class PayLogService
//验证金额是否合法 //验证金额是否合法
$payLogService = new PayLogService(); $payLogService = new PayLogService();
$residue_money = $payLogService->adjustment($pay_log_id); $residue_money = $payLogService->adjustment($pay_log_id);
if ($residue_money < $refund_money) { /* if ($residue_money < $refund_money) {
return -2; return -2;
} }*/
$insert_id = 0; $insert_id = 0;
$arr = $this->refundBin($agent_id, $agent_name, $report_id, $order_id, $order_no, $refund_money, $name, $arr = $this->refundBin($agent_id, $agent_name, $report_id, $order_id, $order_no, $refund_money, $name,
...@@ -176,10 +176,10 @@ class PayLogService ...@@ -176,10 +176,10 @@ class PayLogService
$insert_id = $this->oRefundModel->addRefund($arr); $insert_id = $this->oRefundModel->addRefund($arr);
} else { } else {
$insert_id = $this->oRefundModel->updateRefund($arr); $insert_id = $this->oRefundModel->updateRefund($arr);
$insert_id = $refund_id;
} }
if ($insert_id > 0 && $remark_img) { if ($insert_id > 0 && $remark_img) {
$insert_id = $refund_id;
$this->addOImg($insert_id, 3, $remark_img); $this->addOImg($insert_id, 3, $remark_img);
if($del_img){ if($del_img){
$this->delOImg(3,$del_img); $this->delOImg(3,$del_img);
......
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