正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -16,8 +16,8 @@ class SimpleRequest | @@ -16,8 +16,8 @@ class SimpleRequest | ||
| 16 | { | 16 | { |
| 17 | $this->path = $data['path']; | 17 | $this->path = $data['path']; |
| 18 | $this->uri = $data['uri']; | 18 | $this->uri = $data['uri']; |
| 19 | - $this->get = $data['get']; | ||
| 20 | - $this->post = $data['post']; | 19 | + $this->get = $data['get']??[]; |
| 20 | + $this->post = $data['post']??[]; | ||
| 21 | $this->method = $data['method']; | 21 | $this->method = $data['method']; |
| 22 | $this->header = $data['header']; | 22 | $this->header = $data['header']; |
| 23 | $this->cookie = $data['cookie']; | 23 | $this->cookie = $data['cookie']; |
-
请 注册 或 登录 后发表评论