laowu 1 周之前
父节点
当前提交
28b51ab17a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Services/PayPlus.php

+ 2 - 2
app/Services/PayPlus.php

@@ -218,9 +218,9 @@ class PayPlus
             'AppId: ' . ($this->config['appId'] ?? ''),
             'Authorization: ' . $this->signPayoutPayload($payload),
         ];
-
+        Util::WriteLog('PayPlus', 'PayPlus request(' . $path . '): ' . json_encode($payload));
         $response = $this->curlJson(rtrim($this->config['apiUrl'] ?? '', '/') . $path, $payload, $headers);
-
+        Util::WriteLog('PayPlus', 'PayPlus response(' . $path . '): ' . json_encode($response));
         return json_decode($response, true) ?: [];
     }