From bfd1b73be85fd66ee37031eadcd4d09e7dafb52f Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期四, 13 二月 2025 18:51:40 +0800 Subject: [PATCH] 开始增加构件分组功能 --- Desktop/HStation.Desktop.Xhs.Core/Login/SmsLoginCtrl.cs | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/Desktop/HStation.Desktop.Xhs.Core/Login/SmsLoginCtrl.cs b/Desktop/HStation.Desktop.Xhs.Core/Login/SmsLoginCtrl.cs index 3cf2618..561fea6 100644 --- a/Desktop/HStation.Desktop.Xhs.Core/Login/SmsLoginCtrl.cs +++ b/Desktop/HStation.Desktop.Xhs.Core/Login/SmsLoginCtrl.cs @@ -63,10 +63,11 @@ this.dxErrorProvider1.SetError(this.txtMobileNumber, "璇疯緭鍏ユ纭墜鏈哄彿鐮�"); return; } - this.labSendCode.Enabled = false; + var bol = await BLLFactory<Yw.BLL.ToolSms>.Instance.SendCode(_template, mobile, _software); if (bol) { + this.labSendCode.Enabled = false; StartCountdown(); } else @@ -74,6 +75,8 @@ this.dxErrorProvider1.SetError(this.txtMobileNumber, "鍙戦�佸け璐�"); this.labSendCode.Enabled = true; } + + } private void StartCountdown() @@ -124,5 +127,7 @@ var result = await BLLFactory<Yw.BLL.UserLogin>.Instance.LoginSoftwareStandardBySmsAccount(_template, mobile, _software, validCode, null); this.LoginEndEvet?.Invoke(result); } + + } } \ No newline at end of file -- Gitblit v1.9.3