From 20eaebc3c2b5af7e610e983bda5ee9b364693e6d Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 19 一月 2022 10:14:05 +0800
Subject: [PATCH] 1
---
HDL_ON/DAL/DriverLayer/Control.cs | 6 +++---
HDL_ON/UI/UI1-Login/LoginPage.cs | 5 +++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/HDL_ON/DAL/DriverLayer/Control.cs b/HDL_ON/DAL/DriverLayer/Control.cs
index 3eafb36..051b41d 100644
--- a/HDL_ON/DAL/DriverLayer/Control.cs
+++ b/HDL_ON/DAL/DriverLayer/Control.cs
@@ -754,7 +754,7 @@
//2.Body瀛楃涓茶浆涓篵yte鏁扮粍
byte[] bodyBytes = Encoding.UTF8.GetBytes(bodyDataString);
//鍒ゆ柇鏄惁闇�鍔犲瘑Body鏁版嵁
- //if (isEncryption && IsLocalEncryptAndGetAesKey)
+ if (isEncryption && IsLocalEncryptAndGetAesKey)
{
bodyBytes = Securitys.EncryptionService.AesEncryptPayload(bodyBytes, DB_ResidenceData.Instance.CurrentRegion.localSecret);
//bodyDataString = Encoding.UTF8.GetString(bodyBytes);
@@ -769,8 +769,8 @@
topicAndLengthBytes.CopyTo(sendDataBytes, 0);
bodyBytes.CopyTo(sendDataBytes, topicAndLengthBytes.Length);
- //var sendDataString = Encoding.UTF8.GetString(sendDataBytes);
- //MainPage.Log($"杞崲HDL-Link鏁版嵁\r\n{sendDataString}\r\n");
+ var sendDataString = Encoding.UTF8.GetString(sendDataBytes);
+ MainPage.Log($"杞崲HDL-Link鏁版嵁\r\n{sendDataString}\r\n");
//***************************************************************
return sendDataBytes;
diff --git a/HDL_ON/UI/UI1-Login/LoginPage.cs b/HDL_ON/UI/UI1-Login/LoginPage.cs
index b416645..7ba5216 100644
--- a/HDL_ON/UI/UI1-Login/LoginPage.cs
+++ b/HDL_ON/UI/UI1-Login/LoginPage.cs
@@ -243,12 +243,13 @@
//etAccount.Text = "info@smartlife-ks.com";
//etAccount.Text = "551775569@qq.com";//wcf
etAccount.Text = "15626203746";
+ etAccount.Text = "zhangquansongjava@163.com";
}
b = !b;
etPassword.Text = "123456";
- if(etAccount.Text == "18140004933")
+ if(etAccount.Text == "zhangquansongjava@163.com")
{
- etPassword.Text = "w889900";
+ etPassword.Text = "BVVEAAMZ";
}
//etPassword.Text = "Hdl85521566";
btnLogin.IsSelected = true;
--
Gitblit v1.8.0