wenhongquan 2 年之前
父節點
當前提交
c54a4a9d20
共有 3 個文件被更改,包括 6 次插入5 次删除
  1. 2 2
      index.html
  2. 3 2
      public/webClient/initWebSocket.js
  3. 1 1
      public/webClient/webClient_initWnd.js

+ 2 - 2
index.html

@@ -16,8 +16,8 @@
     <!-- <script src="./flexible.js"></script> -->
     <script src="./login.js?time=6"></script>
     <script src="./webClient/defaultConfig.js?time=117"></script>
-    <script src="./webClient/initWebSocket.js?time=130"></script>
-    <script src="./webClient/webClient_initWnd.js?time=1227"></script>
+    <script src="./webClient/initWebSocket.js?time=131"></script>
+    <script src="./webClient/webClient_initWnd.js?time=1228"></script>
 
 
 

+ 3 - 2
public/webClient/initWebSocket.js

@@ -28,7 +28,7 @@ class InitWebSocketClass {
       letPort: defaultConfig.port, // 端口配置
       letUserCode: userCode, // 用户code
       letUserName: localStorage.getItem('userName'), // 环境登陆账号
-      wsUri: 'wss://localhost:1234',
+      wsUri: 'ws://localhost:1234',
       token: token, // token
       getVersion: null, // option里面的获取版本信息的回调函数通知
       loginSuccess: null, // 登陆成功会调通知
@@ -153,7 +153,8 @@ class InitWebSocketClass {
         browser: 'chrome',
         version: '80.0.3987.100',
         platform: 'win64',
-        softphoneEnable:1
+        softphoneEnable: 1,
+        https:1
       },
       userCode: this.settings.letUserCode,
       // socketCode: this.socketCode,

+ 1 - 1
public/webClient/webClient_initWnd.js

@@ -27,7 +27,7 @@ class VideoPlay {
       letLoginIp: defaultConfig.loginIp, // 环境配置
       letPort: defaultConfig.port, // 端口配置
       letUserCode: localStorage.getItem('userId'), // 用户code
-      wsUri: 'wss://localhost:1234',
+      wsUri: 'ws://localhost:1234',
       token: localStorage.getItem('token'), // token
       getVersion: null, // option里面的获取版本信息的回调函数通知
       loginSuccess: null, // 登陆成功会调通知