logic perform upgrade

This commit is contained in:
zhongchao
2021-09-01 16:21:42 +08:00
parent dc1adf80d0
commit 9b41205800
62 changed files with 109 additions and 168 deletions

View File

@@ -181,12 +181,6 @@ public class MogoApplication extends AbsMogoApplication {
// 设置循环检测间隔时间
clientConfig.setLoopCheckDelay(5 * 1000);
// 设置DNS经纬度位置
// clientConfig.setIHttpDnsCurrentLocation(() -> {
// SocketTestBroadCastReceiver.SocketTestData socketTestData = SocketTestBroadCastReceiver.SocketTestData.getInstance();
// Log.d("TEST-SOCKET","socketTestData cityCode: " + socketTestData.getCityCode());
// return new HttpDnsSimpleLocation(socketTestData.getCityCode(),socketTestData.getLat(),socketTestData.getLon()); //todo 对象唯一实例优化
// });
clientConfig.setIHttpDnsCurrentLocation(() -> {
MogoLocation mogoLocation =
MogoApisHandler.getInstance()