京东打印
This commit is contained in:
parent
b5078ca327
commit
2d9a6591a3
@ -178,8 +178,7 @@ abstract class BusinessClient
|
|||||||
$log->save();
|
$log->save();
|
||||||
}
|
}
|
||||||
if (in_array($params['type'], ['pdd.ktt.increment.order.query', 'pdd.ktt.order.list',"pdd.ktt.after.sales.increment.list"], true)) {
|
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;
|
return $res;
|
||||||
@ -194,10 +193,12 @@ abstract class BusinessClient
|
|||||||
'headers' => ['Content-type' => 'application/x-www-form-urlencoded;'],
|
'headers' => ['Content-type' => 'application/x-www-form-urlencoded;'],
|
||||||
'form_params' => $param
|
'form_params' => $param
|
||||||
];
|
];
|
||||||
|
\Illuminate\Support\Facades\Log::info("请求参数",[$options,time()]);
|
||||||
$promises[] = $client->postAsync($url, $options);
|
$promises[] = $client->postAsync($url, $options);
|
||||||
}
|
}
|
||||||
if ($promises) {
|
if ($promises) {
|
||||||
Promise\Utils::unwrap($promises);
|
Promise\Utils::unwrap($promises);
|
||||||
}
|
}
|
||||||
|
\Illuminate\Support\Facades\Log::info("请求结束",[time()]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user