1.@RequiresPermissions(value={"student:read","teacher:update"},logical=Logical.OR)
2.//必须同时属于student和teacher角色
3.@RequiresRoles({"student","teacher"})
1.@RequiresPermissions(value={"student:read","teacher:update"},logical=Logical.OR)
2.//必须同时属于student和teacher角色
3.@RequiresRoles({"student","teacher"})