默认输出类型修改

This commit is contained in:
thinkphp
2015-12-23 00:01:35 +08:00
parent 633a086950
commit 61a52319e2

View File

@@ -16,7 +16,7 @@ class Response
// 输出数据的转换方法
protected static $tramsform = null;
// 输出数据的类型
protected static $type = 'json';
protected static $type = 'html';
// 输出数据
protected static $data = '';
// 是否exit