mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
改进Handle类支持异常的多语言 Lang类增加has方法 增加核心中文语言包
This commit is contained in:
@@ -123,7 +123,7 @@ class Response
|
||||
if (is_scalar($data)) {
|
||||
echo $data;
|
||||
} elseif (!is_null($data)) {
|
||||
throw new \InvalidArgumentException('不支持的数据类型输出:' . gettype($data));
|
||||
throw new \InvalidArgumentException('variable type error:' . gettype($data));
|
||||
}
|
||||
|
||||
if (function_exists('fastcgi_finish_request')) {
|
||||
|
||||
Reference in New Issue
Block a user