zhangguidong %!s(int64=2) %!d(string=hai) anos
pai
achega
b0c2caded7
Modificáronse 1 ficheiros con 1 adicións e 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)) {