|
|
|
|
@ -83,7 +83,7 @@ class AspNetZhuanController extends Controller
|
|
|
|
|
return $res;
|
|
|
|
|
}
|
|
|
|
|
//获取指定日期医生排班
|
|
|
|
|
public static function GetDoctorDateList($data)
|
|
|
|
|
public static function GetDoctorDateList($data)
|
|
|
|
|
{
|
|
|
|
|
$res= self::Post2(self::$BaseUrl . '/yisheng.aspx',$data,'医生排班');
|
|
|
|
|
return $res;
|
|
|
|
|
@ -125,7 +125,6 @@ class AspNetZhuanController extends Controller
|
|
|
|
|
{
|
|
|
|
|
self::RequestLog($url, $data, $mark, '.Net转发');
|
|
|
|
|
$response = Http::post($url,$data);
|
|
|
|
|
Log::info($response);
|
|
|
|
|
if ($response->successful()) {
|
|
|
|
|
$res = $response->json();
|
|
|
|
|
$res_string=json_encode($res, JSON_UNESCAPED_UNICODE);
|
|
|
|
|
@ -139,9 +138,11 @@ class AspNetZhuanController extends Controller
|
|
|
|
|
if ($res['code'] == "200") {
|
|
|
|
|
return $res;
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
throw new HttpResponseException(\Yz::echoError1("调用".$mark."接口失败:" . $res['msg']));
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
$status = $response->status();
|
|
|
|
|
// 获取响应体作为字符串
|
|
|
|
|
$body = $response->body();
|
|
|
|
|
|