|
@@ -1002,10 +1002,14 @@ class PatientServies
|
|
{
|
|
{
|
|
if(empty($idcard) || empty($institution) || empty($phone))
|
|
if(empty($idcard) || empty($institution) || empty($phone))
|
|
{
|
|
{
|
|
|
|
+ log::record('缺少短信发送数据');
|
|
return '';
|
|
return '';
|
|
}else{
|
|
}else{
|
|
|
|
+ log::record('可以发送短信');
|
|
$url = "https://risserver3.pacsonline.cn/sendYqSms?phone=$phone&institution=$institution&idcard=$idcard";
|
|
$url = "https://risserver3.pacsonline.cn/sendYqSms?phone=$phone&institution=$institution&idcard=$idcard";
|
|
- $this->curl_get($url);
|
|
|
|
|
|
+ log::record('短信请求链接地址'.$url);
|
|
|
|
+ $return = $this->curl_get($url);
|
|
|
|
+ log::record('短信功能返回'.json_encode($return));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|