mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
update 优化新增修改菜单权限字符校验
This commit is contained in:
@ -16,6 +16,11 @@ public interface RegexConstants extends RegexPool {
|
||||
*/
|
||||
public static final String DICTIONARY_TYPE = "^[a-z][a-z0-9_]*$";
|
||||
|
||||
/**
|
||||
* 权限标识必须符合 tool:build:list 格式,或者空字符串
|
||||
*/
|
||||
public static final String PERMISSION_STRING = "^(|^[a-zA-Z0-9_]+:[a-zA-Z0-9_]+:[a-zA-Z0-9_]+)$";
|
||||
|
||||
/**
|
||||
* 身份证号码(后6位)
|
||||
*/
|
||||
|
Reference in New Issue
Block a user