zhangguidong hace 2 años
padre
commit
b0c2caded7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/data/service/payment/AlipayPaymentService.php

+ 1 - 0
app/data/service/payment/AlipayPaymentService.php

@@ -102,6 +102,7 @@ class AlipayPaymentService extends PaymentService
     {
 
         $notify = App::instance($this->config)->notify();
+        file_put_contents("appayorder.txt", json_encode($notify,true) . "\n" . "\n", FILE_APPEND);
 
         if (in_array($notify['trade_status'], ['TRADE_SUCCESS', 'TRADE_FINISHED'])) {
             if ($this->updatePayorderAction($notify)) {