Selaa lähdekoodia

修改中国区地址

lvjincheng 3 vuotta sitten
vanhempi
sitoutus
532f558124
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  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 "";
         }