修改医生列表、修改上报数据

This commit is contained in:
2023-08-16 09:08:24 +08:00
parent 340a447a83
commit 7479355def
4 changed files with 81 additions and 66 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ class Base
* @return array
* @throws GuzzleException
*/
protected function httpRequest(string $sign,array $arg = []): array
protected function httpRequest(string $sign,$path,array $arg = []): array
{
$option = [
"headers" => [
@@ -78,7 +78,7 @@ class Base
$arg = array_merge($arg,$option);
}
$response = $this->client->post($this->request_url, $arg);
$response = $this->client->post($path, $arg);
if ($response->getStatusCode() != '200'){
// 请求失败