Răsfoiți Sursa

修改中国区地址

lvjincheng 3 ani în urmă
părinte
comite
532f558124
1 a modificat fișierele cu 3 adăugiri și 2 ștergeri
  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 {
     public static string gateServerURL {
         get {
         get {
             if (serverType == ServerType.LocalTest) {
             if (serverType == ServerType.LocalTest) {
-                return "http://192.168.137.1:11332/SmartBowBusinessServer";
+                return "http://192.168.137.1:11432/SmartBowBusinessServer2";
             } 
             } 
             if (serverType == ServerType.Produce) {
             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 "";
             return "";
         }
         }