|
@@ -353,7 +353,7 @@ class Application extends Base
|
|
|
$d_time = date('H:i',strtotime('+1 hour'));
|
|
|
}
|
|
|
if($remote_doctor_id === '') {
|
|
|
- $manager = DB::table('')->where('institution_id',$application_info['remote_institution_id'])->where('is_admin', '1')->field('id')->find();
|
|
|
+ $manager = DB::table('doctors')->where('institution_id',$application_info['remote_institution_id'])->where('is_admin', '1')->field('id')->find();
|
|
|
if(!empty($manager)) {
|
|
|
$remote_doctor_id = $manager['id'];
|
|
|
}
|
|
@@ -477,7 +477,7 @@ class Application extends Base
|
|
|
}
|
|
|
// 添加messages信息
|
|
|
|
|
|
- // $wechatService->pushWechatOrder($param['id']);
|
|
|
+ $wechatService->pushWechatOrder($param['id']);
|
|
|
$t = '收到一条远程诊断申请';
|
|
|
$ins = DB::table('institution')->where('id',$doctor['institution_id'])->field('name')->find();
|
|
|
$c = $ins['name'].$doctor['realname'].'医师向您发起一条远程诊断申请';
|