改进Response::success及Response::error方法

This commit is contained in:
huangdijia
2015-12-23 13:06:19 +08:00
parent 2105b00126
commit df3b726f7f

View File

@@ -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);
}
/**