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

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

@@ -149,7 +149,7 @@ class Refund
         if ($auth) {
             $re_cash = 0;
             if ($order_goods_id) {
-                $info = Dever::db($this->goods_table)->find(array('id' => $order_goods_id, 'order_id' => $data['id'], 'status' => 1));
+                $info = Dever::db($this->goods_table)->find(array('id' => $order_goods_id, 'order_id' => $data['id']));
                 if ($info) {
 
                     Dever::db($this->goods_table)->update(array('where_id' => $info['id'], 'status' => 2));