nutzwk不需要权限控制,怎么做?
4 回复
我没有加shiro
@At("/callMobile")
@Ok("beetl:/platform/hn/carinfo/callMobile.html")
@Filters(@By(type = PlatformAuthenticationFilter.class))
// @RequiresPermissions("/platform/hn/carinfo")
public void callMobile(@Attr("loginToken") AuthenticationToken token, String id, HttpServletRequest req) {
Result result = (Result)doLogin(token, req, req.getSession());
if (result.getCode() != 0) {
return;
}
添加回复
请先登陆