医生列表备注版本
This commit is contained in:
@@ -63,6 +63,7 @@ class Base
|
||||
/**
|
||||
* 请求封装
|
||||
* @param string $sign
|
||||
* @param $path
|
||||
* @param array $arg 请求参数
|
||||
* @return array
|
||||
* @throws GuzzleException
|
||||
@@ -82,9 +83,8 @@ class Base
|
||||
// 打印使用
|
||||
$l = $arg;
|
||||
unset($l['json']['pictureOfDetectionTube']);
|
||||
dump($l);
|
||||
|
||||
Log::getInstance("请求参数")->info(json_encode($arg,JSON_UNESCAPED_UNICODE));
|
||||
Log::getInstance("请求参数")->info(json_encode($l,JSON_UNESCAPED_UNICODE));
|
||||
$response = $this->client->post($path, $arg);
|
||||
|
||||
if ($response->getStatusCode() != '200'){
|
||||
|
||||
@@ -179,7 +179,6 @@ class Wy extends Base
|
||||
$path = $this->request_url . "api/sdInternet/v1/externalData/saveOrder";
|
||||
try {
|
||||
$response = $this->httpRequest($sign,$path,$option);
|
||||
dump($response);
|
||||
if (empty($response)){
|
||||
// 返回值错误为空
|
||||
throw new BusinessException("");
|
||||
|
||||
Reference in New Issue
Block a user