@PreLoadClass public class OperateLogController extends Object implements AopLogInterface
| Modifier and Type | Class and Description |
|---|---|
static class |
OperateLogController.CacheInfo
临时缓存
|
| Constructor and Description |
|---|
OperateLogController() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterReturning(Object value)
执行后
|
void |
before(org.aspectj.lang.ProceedingJoinPoint joinPoint)
进入前
|
void |
log(UserModel userModel,
Object value,
OperateLogController.CacheInfo cacheInfo)
记录操作日志
|
void |
updateLog(String reqId,
String val)
修改执行结果
|
public void before(org.aspectj.lang.ProceedingJoinPoint joinPoint)
AopLogInterfacebefore in interface AopLogInterfacejoinPoint - pointpublic void afterReturning(Object value)
AopLogInterfaceafterReturning in interface AopLogInterfacevalue - 结果public void log(UserModel userModel, Object value, OperateLogController.CacheInfo cacheInfo)
userModel - 用户value - 返回执行cacheInfo - 请求信息Copyright © 2017–2022. All rights reserved.