Browse Source

控制台

Gorden 7 months ago
parent
commit
3e1156b1d6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/order/WholeController.php

+ 1 - 1
app/admin/controller/order/WholeController.php

@@ -72,7 +72,7 @@ class WholeController extends Curd
 
         $order = $request->get('order', 'desc');
         $type = $request->get('type', '');
-        if ($type == 'todayOrder'){
+        if ($type == 'todayOrder' && empty($where['order_addtimes'])){
             $where['order_addtimes'][0] = strtotime(date('Y-m-d').' 00:00:00');
             $where['order_addtimes'][1] = strtotime(date('Y-m-d').' 23:59:59');
         }