mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
改进Response类 支持扩展不同的输出类型 改进Model类 不同的模型采用不同的查询对象实例 修正Request类一处错误 助手函数view改进 直接返回Response类对象实例
This commit is contained in:
@@ -63,10 +63,11 @@ class Request
|
||||
protected $file = [];
|
||||
protected $cookie = [];
|
||||
protected $server = [];
|
||||
|
||||
/**
|
||||
* @var array 资源类型
|
||||
*/
|
||||
protected $mime = [
|
||||
protected $mimeType = [
|
||||
'html' => 'text/html,application/xhtml+xml,*/*',
|
||||
'xml' => 'application/xml,text/xml,application/x-xml',
|
||||
'json' => 'application/json,text/x-json,application/jsonrequest,text/json',
|
||||
|
||||
Reference in New Issue
Block a user