dyjh 6 年之前
父节点
当前提交
de89f40d68
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Http/Controllers/Web/AuthController.php

+ 2 - 2
app/Http/Controllers/Web/AuthController.php

xqd
@@ -93,9 +93,9 @@ class AuthController extends Controller
                 exit;
             }
         } else {
-            \Log::info($GLOBALS);
+          //  \Log::info($GLOBALS);
             \Log::info(file_get_contents("php://input"));
-            $postStr = $GLOBALS["HTTP_RAW_POST_DATA"];
+            $postStr = file_get_contents("php://input");
             if (!empty($postStr)) {
                 $postObj = simplexml_load_string($postStr, 'SimpleXMLElement', LIBXML_NOCDATA);
                 $fromUsername = $postObj->FromUserName;