|
@@ -115,11 +115,11 @@ class Index extends Api
|
|
|
|
|
|
//没上班,文字接诊 停掉
|
|
|
if($info['typing_switch'] == 1 && $info['job_status'] == 0){
|
|
|
- $info['typing_switch'] == 2;
|
|
|
+ $info['typing_switch'] = 2;
|
|
|
}
|
|
|
//没上班,即时视频 停掉
|
|
|
if($info['video_switch'] == 1 && $info['video_model'] == 2 && $info['job_status'] == 0){
|
|
|
- $info['video_switch'] == 2;
|
|
|
+ $info['video_switch'] = 2;
|
|
|
}
|
|
|
//视频问诊,排班模式,如果没排班 停掉
|
|
|
if($info['video_switch'] == 1 && $info['video_model'] == 1){
|