[ 'except'=>[ // 'ajaxData', 'exit', ], ], ]; public function _empty() { $this->error('不好意思,您访问的页面不存在~'); } }