zhangguidong il y a 2 ans
Parent
commit
b0c2caded7
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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)) {