dever 3 年之前
父节点
当前提交
9674ed95db
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/shop/lib/Refund.php

+ 2 - 0
app/shop/lib/Refund.php

@@ -173,6 +173,8 @@ class Refund
                 }
                 }
             }
             }
 
 
+            $cash = round($cash, 2);
+
             if ($cash >= 0) {
             if ($cash >= 0) {
                 $log = $this->up($data['id'], $order_goods_id, $status, $cash, $p_cash, $num, $desc, $pic, $process);
                 $log = $this->up($data['id'], $order_goods_id, $status, $cash, $p_cash, $num, $desc, $pic, $process);