|
@@ -594,7 +594,7 @@ class Writereport extends Base
|
|
|
$dinfo = DB::table('doctors')->where('id',$application['req_doctor_id'])->find();
|
|
|
$d_phone = $dinfo['phone'];
|
|
|
log::record('发短信的手机号为'.$d_phone);
|
|
|
- $d_name = $dinfo['realname'];
|
|
|
+ $d_name = $doctor['realname'];
|
|
|
if(isset($_REQUEST['is_remote']) && $_REQUEST['is_remote'] == 1){
|
|
|
if($dinfo['institution_id'] == '22100002' || $dinfo['send_sms'] == 1){ //魏庙下级
|
|
|
$repsone = send_message::sendSms2CompleteReport($d_phone,$d_name);
|