From de6bdd1a1811be6ca24badb5adc344827cdef886 Mon Sep 17 00:00:00 2001 From: wjn Date: Thu, 19 Sep 2024 08:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E4=B8=89=E7=BA=A7=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E6=95=99=E8=82=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- APT.MicroApi/APT.FM.WebApi/Controllers/Api/UserController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/APT.MicroApi/APT.FM.WebApi/Controllers/Api/UserController.cs b/APT.MicroApi/APT.FM.WebApi/Controllers/Api/UserController.cs index 5c8e793..3b1fad9 100644 --- a/APT.MicroApi/APT.FM.WebApi/Controllers/Api/UserController.cs +++ b/APT.MicroApi/APT.FM.WebApi/Controllers/Api/UserController.cs @@ -332,7 +332,7 @@ namespace APT.FM.WebApi.Controllers.Api.FM var isRepeat = userList.FirstOrDefault(t => t.CODE == entity.CODE); if (isRepeat != null) this.ThrowError("050001"); - if (!APT.Infrastructure.Api.AppContext.CurrentSession.UserName.Contains("admin")) + if (false) { #region 新增人员增加三级安全教育 eduCard = new T_SE_THREE_LEVEL_SAFE_EDU_CARD();