作者 景琛

后台快速检索

... ... @@ -32,7 +32,7 @@ class Study extends Backend
/**
* 快速搜索时执行查找的字段
*/
protected $searchFields = '*';
protected $searchFields = 'id,name,team,school,ronda,unique';
public function _initialize()
... ...
... ... @@ -19,7 +19,7 @@ class User extends Backend
{
protected $relationSearch = true;
protected $searchFields = 'id,username,nickname';
protected $searchFields = 'id,nickname,mobile,teach_phone';
protected $modelValidate = true; //开启validate,验证默认是fasle
/**
... ...