WIN-2308041133\Administrator 5 months ago
parent
commit
88856f1e14
1 changed files with 3 additions and 0 deletions
  1. 3 0
      vendor/overtrue/wechat/src/Payment/Kernel/BaseClient.php

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

@@ -92,6 +92,9 @@ class BaseClient
         $this->pushMiddleware($this->logMiddleware(), 'log');
         $this->pushMiddleware($this->logMiddleware(), 'log');
 
 
         $response = $this->performRequest($endpoint, $method, $options);
         $response = $this->performRequest($endpoint, $method, $options);
+        if ($endpoint == 'papay/entrustweb'){
+            @file_put_contents("quanju3.txt", json_encode($response) . "-这是什么\r\n", 8);
+        }
         return $returnResponse ? $response : $this->castResponseToType($response, $this->app->config->get('response_type'));
         return $returnResponse ? $response : $this->castResponseToType($response, $this->app->config->get('response_type'));
     }
     }