(1)BaseStringCfg 类修改为BaseStringCfg<T>,加入泛型。所有继承BaseStringCfg的类均已经修改泛型。
(2)HttpUrlCfg新增ratelimit一列,用于域名限速。 (3)域名限速新增/修改增加限速比例一列,列表展示新增限速比例一列。 (4)审核自定义域域名拦截与域名限速进行调整。 (5)删除MultipleCfg以及相关的dao,service (6StringCfgService重命名为DomainService,其不具备字符串配置都能调用的功能
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
*/
|
||||
package com.nis.domain.configuration;
|
||||
|
||||
import org.apache.commons.lang3.StringEscapeUtils;
|
||||
|
||||
import com.google.gson.annotations.Expose;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import com.nis.util.excel.ExcelField;
|
||||
@@ -21,7 +19,7 @@ import com.nis.util.excel.ExcelField;
|
||||
* @date 2018年2月5日 下午5:26:02
|
||||
* @version V1.0
|
||||
*/
|
||||
public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
|
||||
public class BaseStringCfg<T> extends BaseCfg<T> {
|
||||
|
||||
/**
|
||||
* @Fields serialVersionUID:TODO(用一句话描述这个变量表示什么)
|
||||
@@ -37,8 +35,8 @@ public class BaseStringCfg extends BaseCfg<BaseStringCfg> {
|
||||
@SerializedName("keywords")
|
||||
@ExcelField(title="key_word")
|
||||
protected String cfgKeywords;
|
||||
|
||||
protected String cfgKeywordsShowName;
|
||||
|
||||
/**
|
||||
* @param cfgKeywords the cfgKeywords to set
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user