|
@@ -42,6 +42,20 @@ class Index extends Api
|
|
|
'd.doctor_status' => 1,
|
|
|
];
|
|
|
|
|
|
+ //问诊模式,1=图文问诊,21=视频问诊排班模式,2=视频问诊即时模式
|
|
|
+ $type = input('type',0);
|
|
|
+ if($type == 1){
|
|
|
+ $where['info.typing_switch'] = 1;
|
|
|
+ }
|
|
|
+ if($type == 21){
|
|
|
+ $where['info.video_switch'] = 1;
|
|
|
+ $where['info.video_model'] = 1;
|
|
|
+ }
|
|
|
+ if($type == 22){
|
|
|
+ $where['info.video_switch'] = 1;
|
|
|
+ $where['info.video_model'] = 2;
|
|
|
+ }
|
|
|
+
|
|
|
//科室id
|
|
|
$keshi_id = input('keshi_id',0);
|
|
|
if($keshi_id){
|