lizhen_gitee 6 ay önce
ebeveyn
işleme
6981c6b63a
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      application/api/controller/Index.php

+ 2 - 2
application/api/controller/Index.php

@@ -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){