diff --git a/library/think/Response.php b/library/think/Response.php index 1b9dba00..e2b902f7 100644 --- a/library/think/Response.php +++ b/library/think/Response.php @@ -62,7 +62,9 @@ class Response $data = $handler . '(' . json_encode($data, JSON_UNESCAPED_UNICODE) . ');'; break; case '': - // 类型为空不做处理 + case 'html': + case 'text': + // 不做处理 break; default: // 用于扩展其他返回格式数据