修改医生列表、修改上报数据
This commit is contained in:
@@ -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'){
|
||||
// 请求失败
|
||||
|
||||
Reference in New Issue
Block a user