mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-09-18 17:48:03 +08:00
@SaCheckPermission 增加 orRole 字段,用于权限角色“双重or”匹配
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user