代码调整

This commit is contained in:
2024-12-07 14:02:33 +08:00
parent ea70f0fc2c
commit 3e3165bed8
6 changed files with 43 additions and 11 deletions

View File

@@ -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

View File

@@ -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 = "参数过长,请检查参数";