diff --git a/Host/Views.Mobile/Product/buy.cshtml b/Host/Views.Mobile/Product/buy.cshtml index f22f7a6..0d9b797 100644 --- a/Host/Views.Mobile/Product/buy.cshtml +++ b/Host/Views.Mobile/Product/buy.cshtml @@ -18,17 +18,17 @@ } var randomPwd = ValidateCodeHelper.MakeNumCode(3).ToLower(); var randomAccount1 = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(4).ToLower(); - while (m_AccountService.Exist(m => m.Account == randomAccount1)) + @* while (m_AccountService.Exist(m => m.Account == randomAccount1)) { randomAccount1 = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(4).ToLower(); - } + } *@ var randomAccountMutil = ValidateCodeHelper.MakeCharCode(3).ToLower(); - while (m_AccountService.Exist(m => m.Account.StartsWith(randomAccountMutil))) + @* while (m_AccountService.Exist(m => m.Account.StartsWith(randomAccountMutil))) { randomAccountMutil = ValidateCodeHelper.MakeCharCode(3).ToLower(); - } + } *@ } diff --git a/Host/Views/Product/buy.cshtml b/Host/Views/Product/buy.cshtml index c7a45ec..49b2d65 100644 --- a/Host/Views/Product/buy.cshtml +++ b/Host/Views/Product/buy.cshtml @@ -21,16 +21,16 @@ var randomPwd = ValidateCodeHelper.MakeNumCode(3).ToLower(); var randomAccount1 = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(4).ToLower(); - while (m_AccountService.Exist(m => m.Account == randomAccount1)) { + @* while (m_AccountService.Exist(m => m.Account == randomAccount1)) { randomAccount1 = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(4).ToLower(); - } + } *@ var randomAccountMutil = ValidateCodeHelper.MakeCharCode(3).ToLower(); - while (m_AccountService.Exist(m =>m.Account.StartsWith(randomAccountMutil))) + @* while (m_AccountService.Exist(m =>m.Account.StartsWith(randomAccountMutil))) { randomAccountMutil = ValidateCodeHelper.MakeCharCode(3).ToLower(); - } + } *@ }