From 2029e64ec0491f7e511dc15bffaf821bfbabe2de Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期一, 20 七月 2020 14:10:22 +0800
Subject: [PATCH] 上传一个很特别的新版本

---
 ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs b/ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs
index 973d822..b609fbf 100755
--- a/ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs
+++ b/ZigbeeApp/Shared/Phone/ZigBee/Common/Config.cs
@@ -56,6 +56,11 @@
                 //瑙e瘑
                 config.Password = Phone.UserCenter.UserCenterLogic.DecryptPassword("hD1(La3o", config.PasswordEncrypt);
             }
+            if (config.Md5pwdEncrypt != string.Empty)
+            {
+                //瑙e瘑
+                config.MD5PWD = Phone.UserCenter.UserCenterLogic.DecryptPassword("hD1(La3o", config.Md5pwdEncrypt);
+            }
         }
 
         /// <summary>
@@ -79,7 +84,12 @@
         /// <summary>
         /// 鐭俊鐧诲綍杩斿洖鐨刴d5鍚庣殑瀵嗙爜
         /// </summary>
+        [Newtonsoft.Json.JsonIgnore]
         public string MD5PWD = string.Empty;
+        /// <summary>
+        /// 鐭俊鐧诲綍杩斿洖鐨刴d5鍚庣殑鍔犲瘑瀵嗙爜
+        /// </summary>
+        public string Md5pwdEncrypt = string.Empty;
         /// <summary>
         /// 鐧婚檰璐﹀彿鐨凣uid
         /// </summary>
@@ -87,10 +97,12 @@
         /// <summary>
         /// 鎴愬憳璇锋眰鎺у埗涓诲笎鍙锋浣忓畢鏃惰姹傚熀鍦板潃
         /// </summary>
+        [Newtonsoft.Json.JsonIgnore]
         public string AdminRequestBaseUrl = string.Empty;
         /// <summary>
         /// 鎴愬憳璇锋眰鎺у埗涓诲笎鍙锋浣忓畢鏃惰姹傚熀鍦板潃鐨凩oginAccessToken鐨勫��
         /// </summary>
+        [Newtonsoft.Json.JsonIgnore]
         public string AdminRequestToken = string.Empty;
         /// <summary>
         /// 杩滅▼杩炴帴鐨凪qtt鐨勫鎴风ID
@@ -193,9 +205,10 @@
         {
             //鍔犲瘑,涓嶈兘淇濆瓨鏄庣爜
             this.PasswordEncrypt = Phone.UserCenter.UserCenterLogic.EncryptPassword("hD1(La3o", this.Password);
+            this.Md5pwdEncrypt = Phone.UserCenter.UserCenterLogic.EncryptPassword("hD1(La3o", this.MD5PWD);
+
             var bytes = System.Text.Encoding.UTF8.GetBytes(Newtonsoft.Json.JsonConvert.SerializeObject(this));
             Shared.IO.FileUtils.WriteFileByBytes(fileName, bytes);
-            ReFresh();
         }
     }
 }

--
Gitblit v1.8.0