@SaCheckPermission 增加 orRole 字段,用于权限角色“双重or”匹配

This commit is contained in:
click33
2021-10-02 18:26:13 +08:00
parent b409df78b3
commit 977ab3ed40
10 changed files with 74 additions and 39 deletions

View File

@@ -239,9 +239,8 @@ public class TestController {
// 测试 浏览器访问: http://localhost:8081/test/test
@RequestMapping("test")
public AjaxJson test() {
System.out.println("进来了");
StpUtil.checkLogin();
return AjaxJson.getSuccess();
System.out.println("进来了");
return AjaxJson.getSuccess();
}
// 测试 浏览器访问: http://localhost:8081/test/test2