Browse Source

修改socket

tang biao 5 years ago
parent
commit
3d8e1bc432
2 changed files with 4 additions and 4 deletions
  1. 2 2
      assets/scripts/game/Game.js
  2. 2 2
      assets/scripts/utils/Global.js

+ 2 - 2
assets/scripts/game/Game.js

@@ -201,10 +201,10 @@ cc.Class({
         let testUrl = 'wss://test-message-taptap.duowan.com/connect';
         let pUrl = 'wss://message-taptap.duowan.com/connect';
 
-        let qqUrl = 'wss://qq-message-taptap.duowan.com';
+        let qqUrl = 'wss://qq-message-taptap.duowan.com/connect';
         var socketUrl = GameGlobal.debug ? testUrl : pUrl;
 
-        let ttUrl = 'wss://headlines-message-taptap.duowan.com';
+        let ttUrl = 'wss://headlines-message-taptap.duowan.com/connect';
 
         // let socketUrl = 'ws://172.16.15.196:9099/connect';
         if (CC_QQPLAY) {

+ 2 - 2
assets/scripts/utils/Global.js

@@ -9,9 +9,9 @@ window.GameGlobal = {
     // 建筑管理
     BuildingManager: BuildingManager.instance,
 
-    debug: true,
+    debug: false,
 
-    ver: 122, //游戏版本号发版时需要核对
+    ver: 123, //游戏版本号发版时需要核对
     
     isCheck: false,