Przeglądaj źródła

海外服务器

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

+ 7 - 7
Assets/BowArrow/Scripts/CommonConfig.cs

@@ -48,14 +48,14 @@ public class CommonConfig
     //网关服务器访问地址
     public static string gateServerURL {
         get {
-            if (serverType == ServerType.LocalTest) {
-                return "http://192.168.137.1:11432/SmartBowBusinessServer";
+            if (serverType == ServerType.Produce) 
+            {
+                if (serverIndex == 0) 
+                    return "http://118.195.187.121/SmartBowBusinessServer";
+                else if (serverIndex == 1) 
+                    return "http://34.238.232.118/SmartBowBusinessServer";
             } 
-            if (serverType == ServerType.Produce) {
-                if (serverIndex == 0) return "http://118.195.187.121/SmartBowBusinessServer";
-                else return "http://43.132.127.96/SmartBowBusinessServer";
-            } 
-            return "";
+            return "http://192.168.137.1:11432/SmartBowBusinessServer";
         }
     }
     //业务服务端WS访问地址