dever 3 years ago
parent
commit
77176ab355
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/shop/lib/Refund.php

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

@@ -156,7 +156,7 @@ class Refund
                     $p_cash = 0;
                 }
 
-                if (isset($data['ps_cash']) && $data['ps_cash'] > 0 && $data['status'] >= 4) {
+                if (isset($data['ps_cash']) && $data['ps_cash'] > 0 && $data['status'] >= 3) {
                     # 已发货不退配送费
                     $cash -= $data['ps_cash'];
                 }
@@ -287,7 +287,7 @@ class Refund
             } else {
                 $update['where_id'] = $order['id'];
                 $update['operdate'] = time();
-                if (isset($order['ps_cash']) && $order['ps_cash'] > 0 && $order['status'] < 4) {
+                if (isset($order['ps_cash']) && $order['ps_cash'] > 0 && $order['status'] < 3) {
                     # 配送费退掉
                     $update['ps_cash'] = 0;
                 }