public void ConfigureIpLimit(IAppBuilder app)
        {
            Func<string, List<VisitLog>> getIpListfFunc = RedisHelp.GetIPListValue<List<VisitLog>>;
            Action<string, List<VisitLog>> setIpListAction = RedisHelp.SetIPList;
            Action<string> delIpListAction = RedisHelp.DelIPList;
            Func<string, IpBlack> getIpBlackFunc = RedisHelp.GetIpBlackListValue<IpBlack>;
            Action<string, IpBlack> setIpBlackAction = RedisHelp.SetIpBlackList;
            Action<string> delIpBlackAction = RedisHelp.DelIpBlackList;

            app.UseIpLimit(getIpListfFunc, setIpListAction, delIpListAction, getIpBlackFunc, setIpBlackAction, delIpBlackAction);
        }