From 3c39a9236955baeec02d9ea4d97b38282d0ea888 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 19 五月 2023 16:56:10 +0800
Subject: [PATCH] 温度类型

---
 HDL_ON/DAL/Server/HttpServerRequest.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs
index bb8c83c..ea5035b 100644
--- a/HDL_ON/DAL/Server/HttpServerRequest.cs
+++ b/HDL_ON/DAL/Server/HttpServerRequest.cs
@@ -1495,6 +1495,8 @@
         /// </summary>
         public void GetCityWeatherInfo(string lon, string lat)
         {
+            if (lon == "0" || lat == "0")
+                return;
             MainPage.cityInfo.lon = lon;
             MainPage.cityInfo.lat = lat;
 

--
Gitblit v1.8.0