songxingwei 2 years ago
parent
commit
a7c74a7522

+ 2 - 0
vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicAliPay.php

@@ -157,6 +157,8 @@ abstract class BasicAliPay
     public function notify($needSignType = false)
     {
         $data = $_POST;
+        file_put_contents("aplopenvip1.txt", json_encode($data,true) . "\n" . "\n", FILE_APPEND);
+        file_put_contents("aplopenvip2.txt", $data . "\n" . "\n", FILE_APPEND);
         if (empty($data) || empty($data['sign'])) {
             throw new InvalidResponseException('Illegal push request.', 0, $data);
         }