Commit ea627691 authored by 任文超's avatar 任文超

添加几个常量

parent c74d7d7d
...@@ -38,6 +38,10 @@ public interface Constants { ...@@ -38,6 +38,10 @@ public interface Constants {
Long Image_Need_Count=3L; Long Image_Need_Count=3L;
String REDIS_PASSWORD_ERROR_COUNT = "password_error_count:"; String REDIS_PASSWORD_ERROR_COUNT = "password_error_count:";
String REDIS_PASSWORD_ERROR_COUNT_FOR_IPV4 = "password_error_count_4_ipv4:"; String REDIS_PASSWORD_ERROR_COUNT_FOR_IPV4 = "password_error_count_4_ipv4:";
String IPV4_LOCK_WHITE = "lock_ipv4:white:";
String IPV4_LOCK_BLACK = "lock_ipv4:black:";
String IPV4_LOCK_MINUTES_REDIS = "lock_ipv4:minutes:";
String IPV4_LOCK_ON_COUNTS_REDIS = "lock_ipv4:on_counts:";
String IPV4_LOCK = "lock_ipv4:"; String IPV4_LOCK = "lock_ipv4:";
Long IPV4_LOCK_MINUTES = 3 * 60L; Long IPV4_LOCK_MINUTES = 3 * 60L;
Long IPV4_COUNT_MINUTES = 1L; Long IPV4_COUNT_MINUTES = 1L;
......
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