Przeglądaj źródła

修改中国区地址

lvjincheng 3 lat temu
rodzic
commit
532f558124
1 zmienionych plików z 3 dodań i 2 usunięć
  1. 3 2
      Assets/BowArrow/Scripts/CommonConfig.cs

+ 3 - 2
Assets/BowArrow/Scripts/CommonConfig.cs

@@ -49,10 +49,11 @@ public class CommonConfig
     public static string gateServerURL {
         get {
             if (serverType == ServerType.LocalTest) {
-                return "http://192.168.137.1:11332/SmartBowBusinessServer";
+                return "http://192.168.137.1:11432/SmartBowBusinessServer2";
             } 
             if (serverType == ServerType.Produce) {
-                return "http://43.132.127.96/SmartBowBusinessServer";
+                if (serverIndex == 0) return "http://118.195.187.121/SmartBowBusinessServer2";
+                else return "http://43.132.127.96/SmartBowBusinessServer";
             } 
             return "";
         }