| | |
| | | /**aop处理类,对捕捉到的切点接口,进行数据处理*/ |
| | | @AfterReturning(pointcut = "operationLogPointcut()",returning = "resp") |
| | | public void doAfterReturnOperation(JoinPoint point,Object resp){ |
| | | Response response = (Response) resp; |
| | | Signature signature = point.getSignature(); |
| | | String methodSignature = signature.toString(); |
| | | //方法名 |
| | |
| | | } |
| | | |
| | | }else if(classNameTrue.equals("LoginController")){ |
| | | Response response = (Response) resp; |
| | | if(methodName.equals("login")){ |
| | | if((boolean) response.getData()){ //用户登录 |
| | | type1 = OperationLogEnum.TYPE_1_SYS.getType(); |