songxingwei 2 年之前
父节点
当前提交
23cd39305b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWePay.php

+ 2 - 1
vendor/zoujingli/wechat-developer/WeChat/Contracts/BasicWePay.php

@@ -95,7 +95,8 @@ class BasicWePay
      */
     public function getNotify()
     {
-        
+        $data = ['aa'=>1];
+        file_put_contents('pay1.txt',json_encode($data));
         $data = Tools::xml2arr(file_get_contents('php://input'));
         file_put_contents('pay.txt',json_encode($data));
         if (isset($data['sign']) && $this->getPaySign($data) === $data['sign']) {