ソースを参照

修改移动端登录判断monitorAudioEnable错误

luoshi 4 年 前
コミット
e37516f8a9

+ 1 - 1
themis-business/src/main/java/com/qmth/themis/business/service/impl/TEMobileServiceImpl.java

@@ -208,7 +208,7 @@ public class TEMobileServiceImpl implements TEMobileService {
         String monitorVideoSource = exam.getMonitorVideoSource();
         if (!monitorVideoSource.toUpperCase().contains(MonitorVideoSourceEnum.CLIENT_SCREEN.name())
                 && !monitorVideoSource.toUpperCase().contains(MonitorVideoSourceEnum.CLIENT_CAMERA.name())
-                && Source.MOBILE_MONITOR_FIRST.equals(videoSource)) {
+                && MonitorVideoSourceEnum.MOBILE_FIRST.equals(videoSource)) {
             return true;
         } else {
             return false;