Browse Source

订单列表去掉充值订单

gorden 7 months ago
parent
commit
58ffb686bb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/admin/controller/order/WholeController.php

+ 3 - 0
app/admin/controller/order/WholeController.php

@@ -65,6 +65,9 @@ class WholeController extends Curd
             $where['order_addtimes'][0] = strtotime($where['order_addtimes'][0]);
             $where['order_addtimes'][1] = strtotime($where['order_addtimes'][1]);
         }
+        // 充值订单不显示
+        $where['order_category'] = ['<>','RECHARGE'];
+        
         $order = $request->get('order', 'desc');
         $field = $field ?? 'order_addtimes';