From d9010e16630ddc86fc2ac086be3a26c708c28acd Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Wed, 4 Nov 2020 17:20:11 +0800 Subject: [PATCH] 1.0.0.20110101 Former-commit-id: 8e7f9342400a3e80c480f2ceb9819add5fd67c1b Former-commit-id: 7e0d651621125b5ac68ade49861b64fe8d4f4e42 --- .../Infrastructure/Areas/Admin/Controllers/SettingController.cs | 1 + projects/Infrastructure/Extensions/HelperExtensions.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/projects/Infrastructure/Areas/Admin/Controllers/SettingController.cs b/projects/Infrastructure/Areas/Admin/Controllers/SettingController.cs index cd08fa92..fd9750c8 100644 --- a/projects/Infrastructure/Areas/Admin/Controllers/SettingController.cs +++ b/projects/Infrastructure/Areas/Admin/Controllers/SettingController.cs @@ -23,6 +23,7 @@ namespace Infrastructure.Areas.Admin.Controllers this._settingService = settingService; } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Globalization", "CA1307:指定 StringComparison", Justification = "<挂起>")] public override IQueryable Query(PagedListModel model, IQueryable query) { if (model is null) diff --git a/projects/Infrastructure/Extensions/HelperExtensions.cs b/projects/Infrastructure/Extensions/HelperExtensions.cs index 2ca9d6f0..e2504d52 100644 --- a/projects/Infrastructure/Extensions/HelperExtensions.cs +++ b/projects/Infrastructure/Extensions/HelperExtensions.cs @@ -37,6 +37,7 @@ namespace Infrastructure.Extensions .FirstOrDefault(); } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Security", "CA5351:不要使用损坏的加密算法", Justification = "<挂起>")] public static string MacEncrypt(this Helper helper, string value) { using var des = new DESCryptoServiceProvider();