Commit 4189b2a8 authored by 黄奎's avatar 黄奎

页面修改页面修改

parent ccbee700
...@@ -8,3 +8,8 @@ Mall.Model/Entity/Sign/RB_Sign_Setting.cs ...@@ -8,3 +8,8 @@ Mall.Model/Entity/Sign/RB_Sign_Setting.cs
Mall.Education/lib/ Mall.Education/lib/
Mall.Common/Mall.Common.csproj.user Mall.Common/Mall.Common.csproj.user
Mall.Education/lib.rar Mall.Education/lib.rar
Mall.Model/GlobalSuppressions.cs
Mall.WebApi/Mall.WebApi.csproj.user
TestCore/App.config
TestCore/appsettings.Development.json
TestCore/appsettings.json
...@@ -4,10 +4,17 @@ using System.Text; ...@@ -4,10 +4,17 @@ using System.Text;
namespace Mall.Common namespace Mall.Common
{ {
/// <summary>
/// 和名单管理
/// </summary>
public class BackListHelper public class BackListHelper
{ {
public static List<string> bankList = new List<string>(); public static List<string> bankList = new List<string>();
/// <summary>
/// 添加黑名单
/// </summary>
/// <param name="Ip"></param>
public static void Add(string Ip) public static void Add(string Ip)
{ {
if (!bankList.Contains(Ip)) if (!bankList.Contains(Ip))
...@@ -15,7 +22,5 @@ namespace Mall.Common ...@@ -15,7 +22,5 @@ namespace Mall.Common
bankList.Add(Ip); bankList.Add(Ip);
} }
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment