From f718d23a262a5a8e1241fdeaeb4153399f95e79d Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期二, 21 四月 2020 09:19:05 +0800
Subject: [PATCH] 20200421

---
 HDL_ON/UI/UI1-Login/RegisterPageBLL.cs |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
index 7457d3b..6996dec 100644
--- a/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
+++ b/HDL_ON/UI/UI1-Login/RegisterPageBLL.cs
@@ -38,7 +38,8 @@
                 }
                 else
                 {
-                    btnGetVerificationCode.IsSelected = true;
+                    if (btnGetVerificationCode.Text == Language.StringByID(StringId.GetVerificationCode))
+                        btnGetVerificationCode.IsSelected = true;
                 }
             };
         }
@@ -140,8 +141,11 @@
                             }
                             else
                             {
-                                //鏍囪鎵嬫満鍙风爜鏈夋晥
-                                btnGetVerificationCode.IsSelected = true;
+                                if (btnGetVerificationCode.Text == Language.StringByID(StringId.GetVerificationCode))
+                                {
+                                    //鏍囪鎵嬫満鍙风爜鏈夋晥
+                                    btnGetVerificationCode.IsSelected = true;
+                                }
                                 //璐﹀彿鏈夋晥銆佸瘑鐮佹湁鏁堛�侀獙璇佺爜杈撳叆浜嗭紝鎵嶈兘鐐瑰嚮娉ㄥ唽
                                 if (btnGetVerificationCode.IsSelected && ValidPassword && !string.IsNullOrEmpty(etVerificationCode.Text.Trim()))
                                 {
@@ -168,8 +172,10 @@
                             }
                             else
                             {
-                                //鏍囪鎵嬫満鍙风爜鏈夋晥
-                                btnGetVerificationCode.IsSelected = true;
+                                if (btnGetVerificationCode.Text == Language.StringByID(StringId.GetVerificationCode))
+                                {//鏍囪鎵嬫満鍙风爜鏈夋晥
+                                    btnGetVerificationCode.IsSelected = true;
+                                }
                                 //璐﹀彿鏈夋晥銆佸瘑鐮佹湁鏁堛�侀獙璇佺爜杈撳叆浜嗭紝鎵嶈兘鐐瑰嚮娉ㄥ唽
                                 if (btnGetVerificationCode.IsSelected && ValidPassword && string.IsNullOrEmpty(etVerificationCode.Text.Trim()))
                                 {
@@ -331,7 +337,7 @@
                     {
                         //鑾峰彇楠岃瘉鐮�
                         var result = pm.GetPhoneRegisterVerCode(account);
-                        if (result.StateCode == "Success")
+                        if (result.StateCode.ToUpper() == "SUCCESS")
                         {
                         }
                         else
@@ -402,7 +408,7 @@
                      //鏍¢獙楠岃瘉鐮�/娉ㄥ唽璐﹀彿
                      var validateSmsResult = pm.ValidataCodeAndRegister(account, password, entryPassword, verCode, 86);
                      //楠岃瘉鐮佹牎楠屾垚鍔�
-                     if (validateSmsResult.StateCode == "Success")
+                     if (validateSmsResult.StateCode.ToUpper() == "SUCCESS")
                      {
                          //娉ㄥ唽鎴愬姛
                          //鎵ц鍥炶皟浜嬩欢

--
Gitblit v1.8.0