From 2d9a6591a3b00b4a74c32d20486b7b715e8a736e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=BB=BA=E7=82=8A?= <924182103@qq.com> Date: Fri, 28 Mar 2025 15:09:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/Business/BusinessClient.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Services/Business/BusinessClient.php b/app/Services/Business/BusinessClient.php index 99f8ef7..4174924 100644 --- a/app/Services/Business/BusinessClient.php +++ b/app/Services/Business/BusinessClient.php @@ -178,8 +178,7 @@ abstract class BusinessClient $log->save(); } if (in_array($params['type'], ['pdd.ktt.increment.order.query', 'pdd.ktt.order.list',"pdd.ktt.after.sales.increment.list"], true)) { - LogFile::info('快团团请求: ' . $paramsJson); - LogFile::info('快团团返回: ' . json_encode($res, 256)); + } return $res; @@ -194,10 +193,12 @@ abstract class BusinessClient 'headers' => ['Content-type' => 'application/x-www-form-urlencoded;'], 'form_params' => $param ]; + \Illuminate\Support\Facades\Log::info("请求参数",[$options,time()]); $promises[] = $client->postAsync($url, $options); } if ($promises) { Promise\Utils::unwrap($promises); } + \Illuminate\Support\Facades\Log::info("请求结束",[time()]); } }