Commit 0e7623f1 by patpat

修改生产环境地址

parent 75b186f2
...@@ -14,7 +14,7 @@ public class AppConfig { ...@@ -14,7 +14,7 @@ public class AppConfig {
case DEV: return "ws://10.187.17.22:9001/websocket/%s"; case DEV: return "ws://10.187.17.22:9001/websocket/%s";
case TEST: return "ws://diningservicetest.bgy.com.cn:9001/websocket/%s"; case TEST: return "ws://diningservicetest.bgy.com.cn:9001/websocket/%s";
default: default:
case PROD: return "ws://10.10.182.48:9001/websocket/%s"; case PROD: return "wss://diningservice.bgy.com.cn/websocket/%s";
} }
} }
} }
...@@ -64,7 +64,7 @@ public class MainWebSocket extends WebSocketClient { ...@@ -64,7 +64,7 @@ public class MainWebSocket extends WebSocketClient {
EventBus.getDefault().post(new ConnectStateEvent(ConnectStateEvent.RECONNECTING)); EventBus.getDefault().post(new ConnectStateEvent(ConnectStateEvent.RECONNECTING));
} }
} }
}, 1000); }, 5000);
} catch (URISyntaxException e) { } catch (URISyntaxException e) {
e.printStackTrace(); e.printStackTrace();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment