正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -45,7 +45,7 @@ class SimpleServerCoroutine | @@ -45,7 +45,7 @@ class SimpleServerCoroutine | ||
| 45 | 'cookie' => $request->cookie ?: [], | 45 | 'cookie' => $request->cookie ?: [], |
| 46 | 'rawContent' => $request->rawContent() ?: '' | 46 | 'rawContent' => $request->rawContent() ?: '' |
| 47 | ]; | 47 | ]; |
| 48 | - output($requestInfo); | 48 | + output($requestInfo['method'], $requestInfo['path'], "GET:" . json_encode($requestInfo['get']), "POST:" . json_encode($requestInfo['post']), "rawContent:" . $requestInfo['rawContent']); |
| 49 | $simpleRequest = new SimpleRequest($requestInfo); | 49 | $simpleRequest = new SimpleRequest($requestInfo); |
| 50 | $res = call_user_func($callback, $simpleRequest); | 50 | $res = call_user_func($callback, $simpleRequest); |
| 51 | if (empty($res)) { | 51 | if (empty($res)) { |
-
请 注册 或 登录 后发表评论