OrderFilter.php 807 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace App\Filters;
  3. use App\Filters\Traits\OrderOperateBikeFilter;
  4. use App\Filters\Traits\RelationUserFilter;
  5. class OrderFilter extends Filter
  6. {
  7. use RelationUserFilter;
  8. use OrderOperateBikeFilter;
  9. protected $simpleFilters = [
  10. 'area_id',
  11. 'no' => ['like', '%?%'],
  12. 'remark' => ['like', '%?%'],
  13. 'bike_no' => ['like', '%?%'],
  14. 'status',
  15. 'pay_time_between' => 'pay_time_between',
  16. 'created_time_between'=> 'created_time_between',
  17. 'put_area_id' => 'put_area', // 与area_id 查询一样
  18. 'is_refund_money',
  19. 'merchant_id',
  20. ];
  21. protected $filters = [
  22. 'mobile',
  23. 'nickname',
  24. 'operate_status',
  25. 'mobile_nickname',
  26. 'normal_riding',
  27. 'is_dispatch_money'
  28. ];
  29. }