mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
http函数改完abort
This commit is contained in:
@@ -426,7 +426,7 @@ function redirect($url = [], $params = [], $code = 302)
|
|||||||
* @param string $message 错误信息
|
* @param string $message 错误信息
|
||||||
* @param array $header 参数
|
* @param array $header 参数
|
||||||
*/
|
*/
|
||||||
function http($code, $message = null, $header = [])
|
function abort($code, $message = null, $header = [])
|
||||||
{
|
{
|
||||||
throw new \think\exception\HttpException($code, $message, null, $header);
|
throw new \think\exception\HttpException($code, $message, null, $header);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user