feat: #10000 记录订单获取日志

This commit is contained in:
赵世界 2023-05-18 16:50:31 +08:00
parent 62f5dd4464
commit 03c84868a6

View File

@ -158,6 +158,10 @@ abstract class BusinessClient
}
$log->save();
}
if (in_array($params['type'], ['pdd.ktt.increment.order.query', 'pdd.ktt.order.list'], true)) {
LogFile::info('快团团请求: ' . json_encode($params, 256));
LogFile::info('快团团返回: ' . $res->getBody()->getContents());
}
return $res;
}