fix: 修复租户登陆时的权限问题,租户套餐更新时租户菜单权限同步更新

This commit is contained in:
小熊
2025-07-20 12:54:37 +08:00
parent ca1c64f57f
commit 382c87f8bd
11 changed files with 56 additions and 75 deletions

View File

@@ -70,20 +70,15 @@ public class RegexConstants {
* 域名、IPV4、IPV6
* </p>
*/
public static final String HTTP_HOST =
"^(" +
// ① 域名
"(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\.)+[A-Za-z]{2,63}" +
"|" +
// IPv4
"(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)" +
"|" +
// ③ IPv68 组 1-4 位十六进制,用 : 分隔,支持压缩 0
"(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}" +
"|" +
// ④ IPv6 压缩形式(::
"(?:[0-9A-Fa-f]{1,4}:){0,6}::(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4}" +
")$";
public static final String HTTP_HOST = "^(" +
// ① 域名
"(?:[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?\\.)+[A-Za-z]{2,63}" + "|" +
// ② IPv4
"(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)" + "|" +
// IPv68 组 1-4 位十六进制,用 : 分隔,支持压缩 0
"(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}" + "|" +
// ④ IPv6 压缩形式(::
"(?:[0-9A-Fa-f]{1,4}:){0,6}::(?:[0-9A-Fa-f]{1,4}:){0,6}[0-9A-Fa-f]{1,4}" + ")$";
private RegexConstants() {
}