search_arr = ['title','name']; $_op = $this->field('*'); //执行通用查询 return parent::parentLists($_op); } /** * 读取后 * @param Model $model * @return bool|void */ public static function onAfterRead(Model $model) { if (in_array(request()->action(), ['edit', 'delete', 'status'])) { return true; } } }