操作日志记录新增请求方式

This commit is contained in:
RuoYi
2019-08-22 21:54:35 +08:00
parent e7050f5a38
commit 478520572c
8 changed files with 47 additions and 23 deletions

View File

@ -35,6 +35,10 @@ public class SysOperLog extends BaseEntity
@Excel(name = "请求方法")
private String method;
/** 请求方式 */
@Excel(name = "请求方式")
private String requestMethod;
/** 操作类别0其它 1后台用户 2手机端用户 */
@Excel(name = "操作类别", readConverterExp = "0=其它,1=后台用户,2=手机端用户")
private Integer operatorType;
@ -125,6 +129,16 @@ public class SysOperLog extends BaseEntity
this.method = method;
}
public String getRequestMethod()
{
return requestMethod;
}
public void setRequestMethod(String requestMethod)
{
this.requestMethod = requestMethod;
}
public Integer getOperatorType()
{
return operatorType;
@ -233,6 +247,7 @@ public class SysOperLog extends BaseEntity
.append("businessType", getBusinessType())
.append("businessTypes", getBusinessTypes())
.append("method", getMethod())
.append("requestMethod", getRequestMethod())
.append("operatorType", getOperatorType())
.append("operName", getOperName())
.append("deptName", getDeptName())