|
|
|
@ -20,7 +20,7 @@ public static function Post($url_code, $hospital_id, $data, $print = false)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
$hospital = DB::table('hospital')->where(['id'=>$hospital_id,'status'=>1,'is_del'=>0])->first();
|
|
|
|
$hospital = DB::table('hospital')->where(['id'=>$hospital_id,'status'=>1,'is_del'=>0])->first();
|
|
|
|
if (!$hospital) return \Yz::echoError1('医院不存在');
|
|
|
|
if (!$hospital) return \Yz::echoError1('医院不存在或不可用');
|
|
|
|
$code = $hospital->code;
|
|
|
|
$code = $hospital->code;
|
|
|
|
$url = self::Api($url_code, $code);
|
|
|
|
$url = self::Api($url_code, $code);
|
|
|
|
// self::RequestLog($url, $data, $code, $url_code);
|
|
|
|
// self::RequestLog($url, $data, $code, $url_code);
|
|
|
|
|