rabin 3 年之前
父節點
當前提交
c23c228ba6
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      app/shop/lib/Sell.php

+ 4 - 1
app/shop/lib/Sell.php

@@ -1004,7 +1004,10 @@ class Sell
             $order_data['discount_cash'] = $discount_cash;
             $order_data['discount_cash'] = $discount_cash;
         }
         }
 
 
-        $info = Dever::db('shop/sell_order')->find($order_data);
+        $time = time();
+        $order_data_where['start'] = $time - 60;
+        $order_data_where['end'] = $time;
+        $info = Dever::db('shop/sell_order')->find($order_data_where);
 
 
         $order_data['order_num'] = $this->getOrderId();
         $order_data['order_num'] = $this->getOrderId();