From 4a5e9d0447aae9b264a98ea1f4c95417d0f4aa91 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 01 十二月 2020 17:20:01 +0800 Subject: [PATCH] Merge branch 'master' into WJC --- HDL_ON/Entity/OnAppConfig.cs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Entity/OnAppConfig.cs b/HDL_ON/Entity/OnAppConfig.cs index 09d45e1..4446f29 100644 --- a/HDL_ON/Entity/OnAppConfig.cs +++ b/HDL_ON/Entity/OnAppConfig.cs @@ -26,7 +26,9 @@ } else { instance = temp; } - } catch { } + } catch { + instance = new OnAppConfig() { }; + } } return instance; } @@ -36,6 +38,11 @@ { return System.Text.Encoding.UTF8.GetBytes (Newtonsoft.Json.JsonConvert.SerializeObject (this)); } + /// <summary> + /// 缃戠粶杩炴帴鐘舵�� + /// 0:鏃犵綉缁� + /// </summary> + public int internetStatus = 2; public void RefreshUserConfig () { -- Gitblit v1.8.0