Commit b4f3d8cb by 郑勇

feat: [1006977] 关键点副作用的通用记录方案

parent 41e5048e
...@@ -33,6 +33,17 @@ public class OperationLogDto implements Serializable{ ...@@ -33,6 +33,17 @@ public class OperationLogDto implements Serializable{
* 代理ID * 代理ID
*/ */
private Long agentId; private Long agentId;
private String token;
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public String getContent() { public String getContent() {
return content; return content;
} }
...@@ -66,9 +77,16 @@ public class OperationLogDto implements Serializable{ ...@@ -66,9 +77,16 @@ public class OperationLogDto implements Serializable{
public static long getSerialversionuid() { public static long getSerialversionuid() {
return serialVersionUID; return serialVersionUID;
} }
@Override @Override
public String toString() { public String toString() {
return "OperationLog [content=" + content + ", editorId=" + editorId + ", ip=" + ip + ", time=" + time return "OperationLogDto{" +
+ ", agentId=" + agentId + "]"; "content='" + content + '\'' +
", editorId=" + editorId +
", ip='" + ip + '\'' +
", time=" + time +
", agentId=" + agentId +
", token='" + token + '\'' +
'}';
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment