liuhairui 2 months ago
parent
commit
4d7067f345
1 changed files with 3 additions and 0 deletions
  1. 3 0
      application/admin/controller/Customer.php

+ 3 - 0
application/admin/controller/Customer.php

@@ -21,6 +21,9 @@ class Customer extends Backend
      */
     protected $model = null;
 
+    /** 顶部搜索框:多字段模糊匹配(OR + LIKE) */
+    protected $searchFields = 'company_name,username,account,email,phone,company_type';
+
     protected $noNeedRight = ['company_type_options', 'companyTypeOptions'];
 
     public function _initialize()