mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
恢复Response::success()、Response::error()中调用self::send()方法,保证当前退出。
This commit is contained in:
@@ -171,7 +171,8 @@ class Response
|
|||||||
if ($type) {
|
if ($type) {
|
||||||
self::$type = $type;
|
self::$type = $type;
|
||||||
}
|
}
|
||||||
self::isExit(true);
|
self::$isExit = true;
|
||||||
|
self::send();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -201,7 +202,8 @@ class Response
|
|||||||
if ($type) {
|
if ($type) {
|
||||||
self::$type = $type;
|
self::$type = $type;
|
||||||
}
|
}
|
||||||
self::isExit(true);
|
self::$isExit = true;
|
||||||
|
self::send();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user