rabin 2 年之前
父節點
當前提交
d8b2dcce45
共有 1 個文件被更改,包括 3 次插入0 次删除
  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);
                     }
                 }