Browse Source

用户回收站

lizhen_gitee 2 weeks ago
parent
commit
a8bae06977
1 changed files with 2 additions and 0 deletions
  1. 2 0
      application/admin/controller/user/User.php

+ 2 - 0
application/admin/controller/user/User.php

@@ -11,6 +11,8 @@ use app\common\controller\Backend;
  */
 class User extends Backend
 {
+    protected $relationSearch = true;
+    protected $searchFields = 'id,username,nickname';
 
     /**
      * User模型对象