|
|
@@ -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访问地址
|