From a155c6ce1911e995d136f08b409dd0861706a3f8 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 12 四月 2024 14:27:38 +0800 Subject: [PATCH] 增加3秒云服务器连接检测,连不上服务器的时候不刷新数据 --- HDL-ON_iOS/Main.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/HDL-ON_iOS/Main.cs b/HDL-ON_iOS/Main.cs index 1c6b56e..09293dc 100644 --- a/HDL-ON_iOS/Main.cs +++ b/HDL-ON_iOS/Main.cs @@ -16,7 +16,7 @@ try { Shared.Application.LocationAction = null; - new HttpServerRequest().GetCityWeatherInfo(lon.ToString(), lat.ToString()); + new HttpServerRequest().GetCityWeatherInfo(lon.ToString().Replace(",", "."), lat.ToString().Replace(",", ".")); } catch(Exception ex) { -- Gitblit v1.8.0