WIN-2308041133\Administrator 1 month ago
parent
commit
18f62dc583
1 changed files with 5 additions and 0 deletions
  1. 5 0
      vendor/overtrue/wechat/src/Server/Guard.php

+ 5 - 0
vendor/overtrue/wechat/src/Server/Guard.php

@@ -139,6 +139,11 @@ class Guard
      */
     public function serve()
     {
+        @file_put_contents('quanju3.txt',json_encode($this->request->getMethod())."-测试4\r\n",8);
+        @file_put_contents('quanju3.txt',json_encode($this->request->getRequestUri())."-测试5\r\n",8);
+        @file_put_contents('quanju3.txt',json_encode($this->request->getQueryString())."-测试6\r\n",8);
+        @file_put_contents('quanju3.txt',json_encode($this->request->server->get('SERVER_PROTOCOL'))."-测试7\r\n",8);
+        @file_put_contents('quanju3.txt',json_encode($this->request->getContent())."-测试8\r\n",8);
         Log::debug('Request received:', [
             'Method' => $this->request->getMethod(),
             'URI' => $this->request->getRequestUri(),