예제 #1
0
 public static void InterceptLog(IpIntercepter s)
 {
     using (RedisHelper redisHelper = RedisHelper.GetInstance())
     {
         redisHelper.ListLeftPush("intercept", s);
     }
 }
예제 #2
0
 public static void InterceptLog(IpIntercepter s)
 {
     using (RedisHelper redisHelper = RedisHelper.GetInstance())
     {
         redisHelper.StringIncrement("interceptCount");
         redisHelper.ListLeftPush("intercept", s);
     }
 }