类的使用
cn.huermao.framework.annotation.Log
-
使用Log的程序包 程序包 说明 cn.huermao.framework.aspectJ cn.huermao.framework.base -
-
cn.huermao.framework.aspectJ中Log的使用
参数类型为Log的cn.huermao.framework.aspectJ中的方法 修饰符和类型 方法 说明 voidLogAspect. doAfterReturning(org.aspectj.lang.JoinPoint joinPoint, Log controllerLog, Object jsonResult)处理完请求后执行voidLogAspect. doAfterThrowing(org.aspectj.lang.JoinPoint joinPoint, Log controllerLog, Exception e)拦截异常操作voidLogAspect. getControllerMethodDescription(org.aspectj.lang.JoinPoint joinPoint, Log log, LogInfo operLog, Object jsonResult)获取注解中对方法的描述信息 用于Controller层注解 -
cn.huermao.framework.base中Log的使用
注释类型为Log的cn.huermao.framework.base中的方法 修饰符和类型 方法 说明 Result<?>BaseCtrl. add(EntityBo bo)Result<?>BaseCtrl. delete(Long id)Result<?>BaseCtrl. update(EntityBo bo)
-