class Api extends Rest{ public function _empty(){ $this->back(-2); } }
Declaration of app\common\controller\Api::_empty() should be compatible with think\controller\Rest::_empty($method)