From 242ad26132a08303be14bf65a051d516909e5081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Thu, 9 Sep 2021 18:08:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug=20=E6=AD=BB=E5=BE=AA?= =?UTF-8?q?=E7=8E=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views.Mobile/Product/buy.cshtml | 8 ++++---- Host/Views/Product/buy.cshtml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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(); - } + } *@ }