app = $app; $this->request = $this->app->request; } /** * Notes: 自定义重定向 * @param mixed ...$args * @author 段誉(2021/4/9 14:04) */ public function redirect(...$args) { throw new HttpResponseException(redirect(...$args)); } }