mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正Response类send方法
This commit is contained in:
@@ -113,7 +113,7 @@ class Response
|
||||
}
|
||||
if (is_scalar($data)) {
|
||||
echo $data;
|
||||
} else {
|
||||
} elseif (!is_null($data)) {
|
||||
throw new Exception('不支持的数据类型输出:' . gettype($data));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user