UserFilter.php 652 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace App\Filters;
  3. class UserFilter extends Filter
  4. {
  5. use \App\Filters\Traits\UserFilter;
  6. protected $simpleFilters = [
  7. 'nickname' => ['like', '%?%'],
  8. 'remark' => ['like', '%?%'],
  9. 'mobile' => ['like', '%?%'],
  10. 'truename' => ['like', '%?%'],
  11. 'card_id' => ['like', '%?%'],
  12. 'is_card_certified',
  13. 'is_deposit',
  14. 'deposit_type',
  15. 'is_bind_mobile',
  16. 'status',
  17. 'register_area_id',
  18. 'merchant_id',
  19. ];
  20. protected $filters = [
  21. 'put_area_id',
  22. 'area_id',
  23. 'mobile_nickname',
  24. 'today_add_user',
  25. 'ids'
  26. ];
  27. }