mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
改进Response::success及Response::error方法
This commit is contained in:
@@ -171,8 +171,7 @@ class Response
|
||||
if ($type) {
|
||||
self::$type = $type;
|
||||
}
|
||||
self::$isExit = true;
|
||||
self::send();
|
||||
self::isExit(true);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -202,8 +201,7 @@ class Response
|
||||
if ($type) {
|
||||
self::$type = $type;
|
||||
}
|
||||
self::$isExit = true;
|
||||
self::send();
|
||||
self::isExit(true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user