Package net.loyin.jFinal.anatation

Examples of net.loyin.jFinal.anatation.PowerBind


      }else*/
      ctrl.renderText("{\"statusCode\":301,\"message\":\"登录超时,请重新登录!\"}");
    }else{
      boolean v=true;
      String code=null;
      PowerBind p=ai.getController().getClass().getAnnotation(PowerBind.class);
      if(p!=null){
        v=p.v();
        code=p.code();
      }
      p=ai.getMethod().getAnnotation(PowerBind.class);
      if(p!=null){
        v=p.v();
        code=p.code();
      }
      boolean f=false;
      if(v==true){
        /**菜单权限判断*/
        List<Record> menus=(List<Record>)MemcacheTool.mcc.get("menu"+sid);
View Full Code Here

TOP

Related Classes of net.loyin.jFinal.anatation.PowerBind

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.