😎修复按钮权限标识格式
This commit is contained in:
parent
144bb625db
commit
51966db5e2
@ -210,7 +210,7 @@ public class SysMenuService : IDynamicApiController, ITransient
|
|||||||
|
|
||||||
if (string.IsNullOrEmpty(permission))
|
if (string.IsNullOrEmpty(permission))
|
||||||
throw Oops.Oh(ErrorCodeEnum.D4003);
|
throw Oops.Oh(ErrorCodeEnum.D4003);
|
||||||
if (!permission.Contains(':'))
|
if (!permission.Contains('/'))
|
||||||
throw Oops.Oh(ErrorCodeEnum.D4004);
|
throw Oops.Oh(ErrorCodeEnum.D4004);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user