Przeglądaj źródła

change 外呼JS

wjj 2 tygodni temu
rodzic
commit
131dd91e57

+ 6 - 6
src/assets/callCenterPhoneBarSdk/ccPhoneBarSocket.js

@@ -225,14 +225,14 @@ function ccPhoneBarSocket() {
 
     console.log("callConfig:", JSON.stringify(this.callConfig));
     //线上enableWss: true 本地调试为false
-    if(_cc.callConfig.enableWss){
-      wsuri = 'wss://' + this.callConfig.ipccServer +
-        '/call-center/websocketServer?' +
-        '&loginToken=' + this.callConfig.loginToken;
-    }else{
+    // if(_cc.callConfig.enableWss){
+    //   wsuri = 'wss://' + this.callConfig.ipccServer +
+    //     '/call-center/websocketServer?' +
+    //     '&loginToken=' + this.callConfig.loginToken;
+    // }else{
       wsuri = 'ws://129.28.164.235:1081/call-center/websocketServer?' +
         '&loginToken=' + this.callConfig.loginToken;
-    }
+    // }
     console.log("ipccServer url: " + wsuri);
     var ipccServerIpAddr = this.callConfig.ipccServer.split(":");
     if(this.callConfig.enableWss &&  this.checkIP(ipccServerIpAddr)){