瀏覽代碼

监听SQL

whitefang 1 年之前
父節點
當前提交
0be3d3cb97
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/common/service/pay/WeChatPayService.php

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

@@ -153,7 +153,7 @@ class WeChatPayService extends BasePayService
             ],
             ],
             'attach' => $from
             'attach' => $from
         ]);
         ]);
-
+        Log::write(json_encode($this->config, JSON_UNESCAPED_UNICODE));
         $result = $response->toArray(false);
         $result = $response->toArray(false);
         $this->checkResultFail($result);
         $this->checkResultFail($result);
         return $this->getPrepayConfig($result['prepay_id'], $appId);
         return $this->getPrepayConfig($result['prepay_id'], $appId);