@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)
AopLogInterface
before
in interface AopLogInterface
joinPoint
- pointpublic void afterReturning(Object value)
AopLogInterface
afterReturning
in interface AopLogInterface
value
- 结果public void log(UserModel userModel, Object value, OperateLogController.CacheInfo cacheInfo)
userModel
- 用户value
- 返回执行cacheInfo
- 请求信息Copyright © 2017–2022. All rights reserved.