nizongfeng 3 years ago
parent
commit
372b1ff009
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      application/admin/controller/unishop/Order.php

+ 2
- 2
application/admin/controller/unishop/Order.php View File

@@ -795,8 +795,8 @@ class Order extends Backend
//退款金额
$refund_fee = $sborder->price*$sborder->number;
//修改退款金额
$order->refund_fee = $refund_fee;
$order->save();
$orderModel = new \app\admin\model\unishop\Order();
$orderModel->where(["id"=>$order['id']])->setInc("refund_fee",$refund_fee);
//退款
$param = [
"order_id"=>$order['out_trade_no'],


Loading…
Cancel
Save