lizhen_gitee 6 ماه پیش
والد
کامیت
6981c6b63a
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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){