代码调整
This commit is contained in:
@@ -169,6 +169,11 @@ public interface PatternRegex {
|
||||
*/
|
||||
String TF_NAME_REGEX = "^[0-9a-zA-Z\\u0391-\\uFFE5]{1,16}$";
|
||||
|
||||
/**
|
||||
* 特殊字符正则
|
||||
*/
|
||||
String SPECIAL_REGEX = "[<>%'%;()&+/-\\\\_|@*?#$!,.]|html";
|
||||
|
||||
/**
|
||||
* 字典类型名称
|
||||
*/
|
||||
@@ -177,7 +182,7 @@ public interface PatternRegex {
|
||||
/**
|
||||
* 描述32
|
||||
*/
|
||||
String DES32_REGEX = "^.{0,32}$";
|
||||
String DES32_REGEX = "^.{0,10}$";
|
||||
|
||||
/**
|
||||
* 描述64
|
||||
|
||||
@@ -68,6 +68,7 @@ public interface ValidMessage {
|
||||
String DEVICE_VERSION_NOT_BLANK = "装置版本json文件不能为空,请检查deviceVersionFile参数";
|
||||
|
||||
String SEARCH_DATA_ERROR = "搜索值过长,请检查搜索参数";
|
||||
String SPECIAL_REGEX = "搜索值包含特殊字符";
|
||||
|
||||
String DATA_TOO_LONG = "参数过长,请检查参数";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user