1.校验修改

This commit is contained in:
2024-12-06 16:37:48 +08:00
parent 932ab2d6f5
commit da3e897fc2
2 changed files with 10 additions and 8 deletions

View File

@@ -229,6 +229,11 @@ public interface PatternRegex {
*/
String POSITIVE = "^[0-9].*$";
/**
* 大于0的数字整数以及小数
*/
String POSITIVEALL_NUM = "^(?:[1-9]\\d*(\\.\\d+)?)$";
/**
* 资源名称
*/