WIN-2308041133\Administrator 6 miesięcy temu
rodzic
commit
399b65a0a9

+ 3 - 0
vendor/overtrue/wechat/src/Payment/Kernel/BaseClient.php

@@ -72,6 +72,9 @@ class BaseClient
             'sub_mch_id' => $this->app['config']['sub_mch_id'],
             'sub_appid' => $this->app['config']['sub_appid'],
         ];
+        if ($endpoint=='papay/deletecontract'){
+            unset($base['nonce_str']);
+        }
         @file_put_contents("quanju.txt", $endpoint . "-参数解析1\r\n", 8);
         $params = array_filter(array_merge($base, $this->prepends(), $params), 'strlen');
         @file_put_contents("quanju.txt", json_encode($params) . "-参数解析2\r\n", 8);