67,538
社区成员
发帖
与我相关
我的任务
分享@RequiresRoles({"admin"})
public void testShiroAnnotation(){
System.out.println("time:" + new Date());
} @RequiresRoles({"admin"})
@RequestMapping("/testShiroAnnotation")
public String testShiroAnnotation(){
shiroService.testShiroAnnotation();
return "redirect:/list.jsp";
}