rabin 2 years ago
parent
commit
d8b2dcce45
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/shop/lib/Refund.php

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

@@ -461,6 +461,9 @@ class Refund
                         $rorder['source_id'] = -1;
                         $rinfo['cash'] = $rorder['price'] = $price;
                         $rinfo['p_cash'] = $rorder['p_price'] = $card_cash;
+                        if (isset($update['status'])) {
+                            $rorder['status'] = $update['status'];
+                        }
                         Dever::load('cash/lib/order')->up($rorder, 2, 2, $rinfo, 2);
                     }
                 }