1.0.0.20110101

Former-commit-id: 8e7f9342400a3e80c480f2ceb9819add5fd67c1b
Former-commit-id: 7e0d651621125b5ac68ade49861b64fe8d4f4e42
TSXN
wanggang 5 years ago
parent 69fbaf2813
commit d9010e1663

@ -23,6 +23,7 @@ namespace Infrastructure.Areas.Admin.Controllers
this._settingService = settingService; this._settingService = settingService;
} }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Globalization", "CA1307:指定 StringComparison", Justification = "<挂起>")]
public override IQueryable<Setting> Query(PagedListModel<EditSettingModel> model, IQueryable<Setting> query) public override IQueryable<Setting> Query(PagedListModel<EditSettingModel> model, IQueryable<Setting> query)
{ {
if (model is null) if (model is null)

@ -37,6 +37,7 @@ namespace Infrastructure.Extensions
.FirstOrDefault(); .FirstOrDefault();
} }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Security", "CA5351:不要使用损坏的加密算法", Justification = "<挂起>")]
public static string MacEncrypt(this Helper helper, string value) public static string MacEncrypt(this Helper helper, string value)
{ {
using var des = new DESCryptoServiceProvider(); using var des = new DESCryptoServiceProvider();

Loading…
Cancel
Save