IP限速修改①界面输入IP限速比例字段②审核userregion设置限速比例
This commit is contained in:
@@ -7,10 +7,39 @@ import java.util.Map;
|
||||
import com.google.gson.GsonBuilder;
|
||||
|
||||
public final class Constants {
|
||||
|
||||
/**
|
||||
* 用户自定义域,限速
|
||||
*/
|
||||
public static final String USERREGION_RATE_LIMIT=Configurations.getStringProperty("userregion_rate_limit", "RATE_LIMIT");
|
||||
/**
|
||||
* 用户自定义域,策略分组号
|
||||
*/
|
||||
public static final String USERREGION_IR_STRATEGY=Configurations.getStringProperty("userregion_ir_strategy", "IR_STRATEGY");
|
||||
/**
|
||||
* 用户自定义域,策略分组类型
|
||||
*/
|
||||
public static final String USERREGION_IR_TYPE=Configurations.getStringProperty("userregion_ir_type", "IR_TYPE");
|
||||
/**
|
||||
* 用户自定义域,域名ID
|
||||
*/
|
||||
public static final String USERREGION_DOMIAN_ID=Configurations.getStringProperty("userregion_domian_id", "DOMIAN_ID");
|
||||
/**
|
||||
* 用户自定义域,域名
|
||||
*/
|
||||
public static final String USERREGION_DOMIAN_STR=Configurations.getStringProperty("userregion_domian_str", "DOMIAN_STR");
|
||||
/**
|
||||
* IP复用业务类型
|
||||
*/
|
||||
public static final int SERVICE_IP_RATELIMIT = Configurations.getIntProperty("service_ip_ratelimit", 0x421);
|
||||
/**
|
||||
* IP复用业务类型
|
||||
*/
|
||||
public static final int SERVICE_IP_MULITIPLEX = Configurations.getIntProperty("service_ip_mulitiplex", 768);
|
||||
/**
|
||||
* 域名拦截业务类型
|
||||
*/
|
||||
public static final Integer SERVICE_PXY_DOMAIN_INTERCEPT = Configurations.getIntProperty("service_pxy_domain_intercept",0x201);
|
||||
/**
|
||||
* 当前时区
|
||||
*/
|
||||
@@ -336,7 +365,6 @@ public final class Constants {
|
||||
public static final String PROTOCOL_NUM_REGION = Configurations.getStringProperty("protocol_num_region","protocol_num");
|
||||
public static final String BGP_IP_REGION = Configurations.getStringProperty("bgp_ip_region","bgp_ip");
|
||||
public static final String KEYWORD_EXPR = Configurations.getStringProperty("keyword_expr","***and***");
|
||||
public static final Integer SERVICE_PXY_DOMAIN_INTERCEPT = Configurations.getIntProperty("service_pxy_domain_intercept",0x201);
|
||||
//用户自定义域分隔符
|
||||
public static final String USER_REGION_SPLIT = Configurations.getStringProperty("user_region_split", ";");
|
||||
//用户自定义域占位符
|
||||
|
||||
Reference in New Issue
Block a user