From deacd7e49517224d8243f5bfef60007ba02a6643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=81=B0=E7=81=B0?= Date: Tue, 5 Jul 2022 23:33:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=90=8E=E7=AB=AF=E6=B7=BB=E5=8A=A0sku=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=EF=BC=8C=E5=BC=B9=E7=AA=97=E6=8A=A5=E9=94=99=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E5=81=8F=E5=B7=AE=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CoreCms.Net.Services/User/CoreCmsUserTocashServices.cs | 10 +++++----- .../wwwroot/views/good/goodstypespec/create.html | 8 ++++---- .../wwwroot/views/good/goodstypespec/edit.html | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CoreCms.Net.Services/User/CoreCmsUserTocashServices.cs b/CoreCms.Net.Services/User/CoreCmsUserTocashServices.cs index bea3c181..bf71b9e5 100644 --- a/CoreCms.Net.Services/User/CoreCmsUserTocashServices.cs +++ b/CoreCms.Net.Services/User/CoreCmsUserTocashServices.cs @@ -237,7 +237,7 @@ namespace CoreCms.Net.Services { case (int)GlobalEnumVars.UserTocashType.银行线下转账 when status > 0: { - var bl = await _dal.UpdateAsync(p => new CoreCmsUserTocash() { status = status, updateTime = DateTime.Now }, p => p.id == id && (p.status == (int)GlobalEnumVars.UserTocashStatus.待审核 || p.status == (int)GlobalEnumVars.UserTocashStatus.提现异常)); + var bl = await _dal.UpdateAsync(p => new CoreCmsUserTocash() { status = status, updateTime = DateTime.Now, type = type }, p => p.id == id && (p.status == (int)GlobalEnumVars.UserTocashStatus.待审核 || p.status == (int)GlobalEnumVars.UserTocashStatus.提现异常)); jm.status = bl; jm.data = status; if (bl) @@ -307,7 +307,7 @@ namespace CoreCms.Net.Services { status = (int)GlobalEnumVars.UserTocashStatus.提现成功; var message = JsonConvert.SerializeObject(response); - var bl = await _dal.UpdateAsync(p => new CoreCmsUserTocash() { status = status, updateTime = DateTime.Now, message = message }, p => p.id == id && (p.status == (int)GlobalEnumVars.UserTocashStatus.待审核 || p.status == (int)GlobalEnumVars.UserTocashStatus.提现异常)); + var bl = await _dal.UpdateAsync(p => new CoreCmsUserTocash() { status = status, updateTime = DateTime.Now, message = message, type = type }, p => p.id == id && (p.status == (int)GlobalEnumVars.UserTocashStatus.待审核 || p.status == (int)GlobalEnumVars.UserTocashStatus.提现异常)); jm.status = bl; jm.data = status; } @@ -315,7 +315,7 @@ namespace CoreCms.Net.Services { status = (int)GlobalEnumVars.UserTocashStatus.提现异常; var message = JsonConvert.SerializeObject(response); - var bl = await _dal.UpdateAsync(p => new CoreCmsUserTocash() { status = status, updateTime = DateTime.Now, message = message }, p => p.id == id && (p.status == (int)GlobalEnumVars.UserTocashStatus.待审核 || p.status == (int)GlobalEnumVars.UserTocashStatus.提现异常)); + var bl = await _dal.UpdateAsync(p => new CoreCmsUserTocash() { status = status, updateTime = DateTime.Now, message = message, type = type }, p => p.id == id && (p.status == (int)GlobalEnumVars.UserTocashStatus.待审核 || p.status == (int)GlobalEnumVars.UserTocashStatus.提现异常)); jm.status = bl; jm.data = status; } @@ -353,7 +353,7 @@ namespace CoreCms.Net.Services { status = (int)GlobalEnumVars.UserTocashStatus.提现成功; var message = JsonConvert.SerializeObject(response); - var bl = await _dal.UpdateAsync(p => new CoreCmsUserTocash() { status = status, updateTime = DateTime.Now, message = message }, p => p.id == id && (p.status == (int)GlobalEnumVars.UserTocashStatus.待审核 || p.status == (int)GlobalEnumVars.UserTocashStatus.提现异常)); + var bl = await _dal.UpdateAsync(p => new CoreCmsUserTocash() { status = status, updateTime = DateTime.Now, message = message, type = type }, p => p.id == id && (p.status == (int)GlobalEnumVars.UserTocashStatus.待审核 || p.status == (int)GlobalEnumVars.UserTocashStatus.提现异常)); jm.status = bl; jm.data = status; } @@ -361,7 +361,7 @@ namespace CoreCms.Net.Services { status = (int)GlobalEnumVars.UserTocashStatus.提现异常; var message = JsonConvert.SerializeObject(response); - var bl = await _dal.UpdateAsync(p => new CoreCmsUserTocash() { status = status, updateTime = DateTime.Now, message = message }, p => p.id == id && (p.status == (int)GlobalEnumVars.UserTocashStatus.待审核 || p.status == (int)GlobalEnumVars.UserTocashStatus.提现异常)); + var bl = await _dal.UpdateAsync(p => new CoreCmsUserTocash() { status = status, updateTime = DateTime.Now, message = message, type = type }, p => p.id == id && (p.status == (int)GlobalEnumVars.UserTocashStatus.待审核 || p.status == (int)GlobalEnumVars.UserTocashStatus.提现异常)); jm.status = bl; jm.data = status; } diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/good/goodstypespec/create.html b/CoreCms.Net.Web.Admin/wwwroot/views/good/goodstypespec/create.html index dca7ea9a..75a2619c 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/good/goodstypespec/create.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/good/goodstypespec/create.html @@ -6,14 +6,14 @@
- +
请输入不超过30个字符内容
- +
请输入数字
@@ -21,7 +21,7 @@
- +
@@ -55,7 +55,7 @@ '
' + '' + '
' + - '' + + '' + '
' + '' + '
' + diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/good/goodstypespec/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/good/goodstypespec/edit.html index 79642a6d..34d5b77e 100644 --- a/CoreCms.Net.Web.Admin/wwwroot/views/good/goodstypespec/edit.html +++ b/CoreCms.Net.Web.Admin/wwwroot/views/good/goodstypespec/edit.html @@ -7,7 +7,7 @@
- +
请输入不超过30个字符内容
@@ -15,7 +15,7 @@
- +
请输入数字
@@ -24,7 +24,7 @@
- +
{{# if(index > 0){ }} @@ -63,7 +63,7 @@ '
' + '' + '
' + - '' + + '' + '
' + '' + '
' +