|
...
|
...
|
@@ -26,19 +26,7 @@ class Client implements ClientInterface |
|
|
|
{
|
|
|
|
$this->request = $request();
|
|
|
|
|
|
|
|
//$this->config = config(TopWarehouseServiceProvider::CONFIG_NAME);
|
|
|
|
|
|
|
|
$this->config = [
|
|
|
|
'app_key' => '1000370173100021',
|
|
|
|
'app_secret' => 'dOsDS9ycaIWyD+4jKywnRw==',
|
|
|
|
'options' => [
|
|
|
|
'client' => [
|
|
|
|
'base_uri' => 'http://ews-test.topgoods.mobi',
|
|
|
|
'time' => 10,
|
|
|
|
],
|
|
|
|
'retry' => 1
|
|
|
|
]
|
|
|
|
];
|
|
|
|
$this->config = config(TopWarehouseServiceProvider::CONFIG_NAME);
|
|
|
|
|
|
|
|
$clientOption = \Arr::get($this->config, 'options.client', []);
|
|
|
|
|
...
|
...
|
|