Browse Source

关闭回调金额验证

15954078560 2 years ago
parent
commit
6f0617f8e1
1 changed files with 3 additions and 3 deletions
  1. 3 3
      extend/wxpay/WxPay.php

+ 3 - 3
extend/wxpay/WxPay.php

@@ -220,10 +220,10 @@ class WxPay {
      * @return array
      */
     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");
-        }
+//        }
 
         $postObj = simplexml_load_string($postStr, 'SimpleXMLElement', LIBXML_NOCDATA);
         if ($postObj === false) {