public class ResetLog extends Object
| Constructor and Description |
|---|
ResetLog() |
| Modifier and Type | Method and Description |
|---|---|
String |
fillRule(Object beanObject,
String content)
内容填充规则
|
String |
getDatetime()
获取当前时间
|
String |
getDatetime(String pattern)
获取当前时间(自定义时间格式)
|
Object |
getEntityParam()
获取切入点参数注解@EntityParam的对象
|
String |
getNickname()
获取用户昵称
|
Object |
getParam(String name)
获取切入点方法指定名称的参数值
|
String |
getUsername()
获取用户名
|
boolean |
isResult()
判断返回值是否为Result对象
|
boolean |
isSuccess()
判断Result状态码是否为成功
|
boolean |
isSuccessRecord()
判断Result状态码是否为成功,且设置是否记录日志
|
public boolean isResult()
public boolean isSuccess()
public boolean isSuccessRecord()
public Object getEntityParam()
public String getUsername()
public String getNickname()
public String getDatetime()
Copyright © 2022. All rights reserved.