修改推送信息内容,修改请求处方平台超时时间

This commit is contained in:
2023-05-22 09:28:30 +08:00
parent 029c6249fd
commit d3d5a62fb8
3 changed files with 17 additions and 15 deletions
+5 -1
View File
@@ -39,7 +39,11 @@ class Prescription
$this->client_secret = config('prescription_platform.client_secret');
$this->pharmacy_code = config('prescription_platform.pharmacy_code');
$this->container = ApplicationContext::getContainer();
$this->client = $this->container->get(Client::class);
$this->client = make(Client::class, [
'config' => [
'timeout' => 5,
],
]);
}
/**