作者 karlet

feat:fix bug

@@ -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'];