zhangguidong 2 年之前
父節點
當前提交
b0c2caded7
共有 1 個文件被更改,包括 1 次插入0 次删除
  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)) {