正在显示
2 个修改的文件
包含
2 行增加
和
2 行删除
@@ -32,7 +32,7 @@ class Study extends Backend | @@ -32,7 +32,7 @@ class Study extends Backend | ||
32 | /** | 32 | /** |
33 | * 快速搜索时执行查找的字段 | 33 | * 快速搜索时执行查找的字段 |
34 | */ | 34 | */ |
35 | - protected $searchFields = '*'; | 35 | + protected $searchFields = 'id,name,team,school,ronda,unique'; |
36 | 36 | ||
37 | 37 | ||
38 | public function _initialize() | 38 | public function _initialize() |
@@ -19,7 +19,7 @@ class User extends Backend | @@ -19,7 +19,7 @@ class User extends Backend | ||
19 | { | 19 | { |
20 | 20 | ||
21 | protected $relationSearch = true; | 21 | protected $relationSearch = true; |
22 | - protected $searchFields = 'id,username,nickname'; | 22 | + protected $searchFields = 'id,nickname,mobile,teach_phone'; |
23 | protected $modelValidate = true; //开启validate,验证默认是fasle | 23 | protected $modelValidate = true; //开启validate,验证默认是fasle |
24 | 24 | ||
25 | /** | 25 | /** |
-
请 注册 或 登录 后发表评论