| | |
| | | //解密
|
| | | config.Password = Phone.UserCenter.UserCenterLogic.DecryptPassword("hD1(La3o", config.PasswordEncrypt);
|
| | | } |
| | | if (config.Md5pwdEncrypt != string.Empty) |
| | | { |
| | | //解密 |
| | | config.MD5PWD = Phone.UserCenter.UserCenterLogic.DecryptPassword("hD1(La3o", config.Md5pwdEncrypt); |
| | | } |
| | | }
|
| | |
|
| | | /// <summary> |
| | |
| | | /// <summary> |
| | | /// 短信登录返回的md5后的密码 |
| | | /// </summary> |
| | | [Newtonsoft.Json.JsonIgnore] |
| | | public string MD5PWD = string.Empty; |
| | | /// <summary> |
| | | /// 短信登录返回的md5后的加密密码 |
| | | /// </summary> |
| | | public string Md5pwdEncrypt = string.Empty; |
| | | /// <summary> |
| | | /// 登陆账号的Guid |
| | | /// </summary> |
| | |
| | | /// <summary>
|
| | | /// 成员请求控制主帐号此住宅时请求基地址
|
| | | /// </summary> |
| | | [Newtonsoft.Json.JsonIgnore] |
| | | public string AdminRequestBaseUrl = string.Empty;
|
| | | /// <summary>
|
| | | /// 成员请求控制主帐号此住宅时请求基地址的LoginAccessToken的值
|
| | | /// </summary> |
| | | [Newtonsoft.Json.JsonIgnore] |
| | | public string AdminRequestToken = string.Empty; |
| | | /// <summary>
|
| | | /// 远程连接的Mqtt的客户端ID
|
| | |
| | | { |
| | | //加密,不能保存明码 |
| | | 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(); |
| | | } |
| | | } |
| | | } |