mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正redirect助手函数
This commit is contained in:
@@ -497,7 +497,7 @@ if (!function_exists('redirect')) {
|
||||
$params = [];
|
||||
}
|
||||
$response = Response::create($url, 'redirect', $code)->params($params);
|
||||
throw new HttpResponseException($response);
|
||||
throw new \think\exception\HttpResponseException($response);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user