京东打印
This commit is contained in:
parent
b5078ca327
commit
2d9a6591a3
@ -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()]);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user