@@ -108,7 +108,7 @@ class Message {
Db::table('messages')->where('application_id',$aid)->where('doctor_id',$did)->where('type',7)->where('is_read',1)->update(['status'=>0,'count'=>1,'is_read'=>0,'content'=>$content]);
}else{
//没有改消息 新增消息
- $title = '您收到一条远程诊断咨询消息';
+ $title = '您收到一条新的远程诊断咨询消息';
$type = '7';
$application = DB::table('remote_application')->where('id',$aid)->find();
$exam = DB::table('exams')->where('id',$application['exam_id'])->field('exam_class')->find();
@@ -464,6 +464,7 @@ class Writereport extends Base
return json_encode(['status'=>'fail','code'=>'1034','msg'=>'已经确认过该报告,不可再次确认']);
}
+ Message::read($doctor['id'],$report_info['remote_application_id'],4);
//远程
$status = DB::table('remote_application')->where('id',$report_info['remote_application_id'])->field('remote_doctor_id,report_status')->find();
if($status['report_status'] < 8 ){