|
@@ -526,10 +526,11 @@ class Writereport extends Base
|
|
|
DB::table('exams')->where('id',$id)->update(['exam_status'=>'8','film_type'=>$param['film_type']]);
|
|
|
// 已审核 发送短信
|
|
|
$application = DB::table('remote_application')->where('exam_id',$id)->find();
|
|
|
- if($application['req_doctor_id'] == 'c44663d6d3c0b535'){
|
|
|
+// if($application['req_doctor_id'] == 'c44663d6d3c0b535'){
|
|
|
$dinfo = DB::table('doctors')->where('id',$application['req_doctor_id'])->find();
|
|
|
$d_phone = $dinfo['phone'];
|
|
|
log::record('发短信的手机号为'.$d_phone);
|
|
|
+ $d_phone = '18366391911';
|
|
|
$d_name = '';
|
|
|
$repsone = send_message::sendSms2CompleteReport($d_phone,$d_name);
|
|
|
// 上级医院
|
|
@@ -541,7 +542,7 @@ class Writereport extends Base
|
|
|
// $type = '完成并审核报告';
|
|
|
// $content = $s_institution['name'].'医院的'.$doctor['realname'].'医生完成并审核了下级'.$x_institution['name'].'医院的'.$x_name['realname'].'医生发起的申请,单子的申请单id是'.$application['id'];
|
|
|
// send_message::sendSms2Self($tel,$type,$content);
|
|
|
- }
|
|
|
+// }
|
|
|
return json_encode(['status'=>'ok','code'=>'0000','msg'=>'已审核']);
|
|
|
}catch(\Exception $e){
|
|
|
return json_encode(['status'=>'fail','code'=>'2000','msg'=>$e->getMessage()]);
|