From ec34983e291d1c85284472a27109d55891f9a6b5 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期五, 07 八月 2020 16:20:16 +0800 Subject: [PATCH] 不是新代码,别 合并 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs index 6187c50..c92cefd 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Logic/HdlResidenceLogic.cs @@ -206,9 +206,11 @@ /// <summary> /// 鑾峰彇浜戠浣忓畢鍒楄〃 /// </summary> - public List<string> GetHomeListsFromDb() + /// <param name="checkNetwork">鏄惁妫�娴嬬綉缁�,濡傛灉璁剧疆妫�娴嬬殑璇�,褰撲笉鑳借仈缃戞椂,鐩存帴杩斿洖鏈湴浣忓畢</param> + /// <returns></returns> + public List<string> GetHomeListsFromDb(bool checkNetwork) { - if (HdlWifiLogic.Current.CanAccessHttp == false) + if (checkNetwork == true && HdlWifiLogic.Current.CanAccessHttp == false) { //褰撳墠鏃犳硶鑱旂綉 return Config.Instance.HomeFilePathList; -- Gitblit v1.8.0