diff --git a/core/function-impl/mogo-core-function-startup/src/main/java/com/mogo/eagle/core/function/startup/stageone/HttpDnsStartUp.kt b/core/function-impl/mogo-core-function-startup/src/main/java/com/mogo/eagle/core/function/startup/stageone/HttpDnsStartUp.kt index 84e3b6a9c4..a5ad0ae66e 100644 --- a/core/function-impl/mogo-core-function-startup/src/main/java/com/mogo/eagle/core/function/startup/stageone/HttpDnsStartUp.kt +++ b/core/function-impl/mogo-core-function-startup/src/main/java/com/mogo/eagle/core/function/startup/stageone/HttpDnsStartUp.kt @@ -326,12 +326,12 @@ class HttpDnsStartUp : AndroidStartup() { AbsMogoApplication.getApp() ) .getString(SharedPrefsConstants.LOCATION_LONGITUDE) - try { - return HttpDnsSimpleLocation( + return try { + HttpDnsSimpleLocation( ciyCode, latitude.toDouble(), longitude.toDouble() ) } catch (e: NumberFormatException) { - return HttpDnsSimpleLocation("010", 1.0, 1.0) + HttpDnsSimpleLocation("010", 1.0, 1.0) } } } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 1459737491..84fbc00de8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -66,23 +66,23 @@ SERVICE_BIZ_VERSION=1.2.4 LOGLIB_VERSION=1.5.10 ######## MogoAiCloudSDK Version ######## # 网络请求LOGLIB_VERSION -MOGO_NETWORK_VERSION=1.4.4.5 +MOGO_NETWORK_VERSION=1.4.4.7 # 鉴权 -MOGO_PASSPORT_VERSION=1.4.4.5 +MOGO_PASSPORT_VERSION=1.4.4.7 # 常链接 -MOGO_SOCKET_VERSION=1.4.4.5 +MOGO_SOCKET_VERSION=1.4.4.7 # 数据采集 -MOGO_REALTIME_VERSION=1.4.4.5 +MOGO_REALTIME_VERSION=1.4.4.7 # 探路,道路事件发布,获取 -MOGO_TANLU_VERSION=1.4.4.5 +MOGO_TANLU_VERSION=1.4.4.7 # 直播推流 -MOGO_LIVE_VERSION=1.4.4.5 +MOGO_LIVE_VERSION=1.4.4.7 # 直播拉流 -MOGO_TRAFFICLIVE_VERSION=1.4.4.5 +MOGO_TRAFFICLIVE_VERSION=1.4.4.7 # 定位服务 -MOGO_LOCATION_VERSION=1.4.4.5 +MOGO_LOCATION_VERSION=1.4.4.7 # 远程通讯模块 -MOGO_TELEMATIC_VERSION=1.4.4.5 +MOGO_TELEMATIC_VERSION=1.4.4.7 ######## MogoAiCloudSDK Version ######## # 自研地图 MAP_SDK_VERSION=2.10.0.2_test_01