fuyu 5 лет назад
Родитель
Сommit
5186c83b00
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      application/inter/controller/Wechat.php

+ 1 - 1
application/inter/controller/Wechat.php

@@ -60,7 +60,7 @@ class Wechat extends Base {
             $r_info = DB::table('report')->where('exam_id',$exam_id)->where('remote_application_id', $aid)->find();
             $t = '收到一条远程诊断申请';
             $ins = DB::table('institution')->where('id',$order['hospital_id'])->field('name')->find();
-            $doctor = DB::table('doctor')->where('id',$order['doctor_id'])->field('realname')->find();
+            $doctor = DB::table('doctors')->where('id',$order['doctor_id'])->field('realname')->find();
             $c = $ins['name'].$doctor['realname'].'医师向您发起一条远程诊断申请';
             $type = '1';
             $url = Message::url(null, $exam_id,1,$order['exam_class'],$r_info['id'],$aid);