15954078560 2 роки тому
батько
коміт
6f0617f8e1
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      extend/wxpay/WxPay.php

+ 3 - 3
extend/wxpay/WxPay.php

@@ -220,10 +220,10 @@ class WxPay {
      * @return array
      * @return array
      */
      */
     public function WxPayNotifyCheck() {
     public function WxPayNotifyCheck() {
-        $postStr = $GLOBALS['HTTP_RAW_POST_DATA'];
-        if(!$postStr){
+//        $postStr = $GLOBALS['HTTP_RAW_POST_DATA'];
+//        if(!$postStr){
             $postStr = file_get_contents("php://input");
             $postStr = file_get_contents("php://input");
-        }
+//        }
 
 
         $postObj = simplexml_load_string($postStr, 'SimpleXMLElement', LIBXML_NOCDATA);
         $postObj = simplexml_load_string($postStr, 'SimpleXMLElement', LIBXML_NOCDATA);
         if ($postObj === false) {
         if ($postObj === false) {