瀏覽代碼

修改socket

tang biao 5 年之前
父節點
當前提交
3d8e1bc432
共有 2 個文件被更改,包括 4 次插入4 次删除
  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,