whitefang 1 anno fa
parent
commit
4c4868a912
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/common/service/pay/WeChatPayService.php

+ 1 - 0
app/common/service/pay/WeChatPayService.php

@@ -372,6 +372,7 @@ class WeChatPayService extends BasePayService
         $server = $this->app->getServer();
         $server = $this->app->getServer();
         // 支付通知
         // 支付通知
         $server->handlePaid(function (Message $message) {
         $server->handlePaid(function (Message $message) {
+            Log::write(json_encode($message,JSON_UNESCAPED_UNICODE));
             if ($message['trade_state'] === 'SUCCESS') {
             if ($message['trade_state'] === 'SUCCESS') {
                 $extra['transaction_id'] = $message['transaction_id'];
                 $extra['transaction_id'] = $message['transaction_id'];
                 $attach = $message['attach'];
                 $attach = $message['attach'];