From f0ca9fb79a91544c037c55a291be00e8c469bf34 Mon Sep 17 00:00:00 2001 From: liaoxujun@qq.com <liaoxujun@qq.com> Date: 星期二, 05 三月 2024 12:17:32 +0800 Subject: [PATCH] 经销商注册逻辑 --- CoreCms.Net.Web.Admin/Controllers/Distribution/CoreCmsDistributionController.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CoreCms.Net.Web.Admin/Controllers/Distribution/CoreCmsDistributionController.cs b/CoreCms.Net.Web.Admin/Controllers/Distribution/CoreCmsDistributionController.cs index c6ee4ae..54e6806 100644 --- a/CoreCms.Net.Web.Admin/Controllers/Distribution/CoreCmsDistributionController.cs +++ b/CoreCms.Net.Web.Admin/Controllers/Distribution/CoreCmsDistributionController.cs @@ -33,9 +33,9 @@ namespace CoreCms.Net.Web.Admin.Controllers { /// <summary> - /// 鍒嗛攢鍟嗚〃 + /// 缁忛攢鍟嗚〃 /// </summary> - [Description("鍒嗛攢鍟嗚〃")] + [Description("缁忛攢鍟嗚〃")] [Route("api/[controller]/[action]")] [ApiController] [RequiredErrorForAdmin] @@ -115,7 +115,7 @@ //鐢ㄦ埛Id int var userId = Request.Form["userId"].FirstOrDefault().ObjectToInt(0); if (userId > 0) where = where.And(p => p.userId == userId); - //鍒嗛攢鍟嗗悕绉� nvarchar + //缁忛攢鍟嗗悕绉� nvarchar var name = Request.Form["name"].FirstOrDefault(); if (!string.IsNullOrEmpty(name)) where = where.And(p => p.name.Contains(name)); //鍒嗛攢绛夌骇 int @@ -301,7 +301,7 @@ var isDistribution = await _coreCmsDistributionServices.ExistsAsync(p => p.userId == user.id); if (isDistribution) { - jm.msg = "鎻愪氦鐨勩�愬凡娉ㄥ唽鎵嬫満鍙枫�戝凡缁忔槸鍒嗛攢鍟嗕簡銆�"; + jm.msg = "鎻愪氦鐨勩�愬凡娉ㄥ唽鎵嬫満鍙枫�戝凡缁忔槸缁忛攢鍟嗕簡銆�"; return jm; } var model = new CoreCmsDistribution(); -- Gitblit v1.9.1