Commit 1eb7478a by caosy

Merge remote-tracking branch 'origin/f-6.7.2.1' into f-6.7.2

parents ef3e105f b329fd52
...@@ -11,8 +11,17 @@ public class Request <T> { ...@@ -11,8 +11,17 @@ public class Request <T> {
private String userId; private String userId;
private T body; private T body;
private String loginUserName; private String loginUserName;
private int type;
public int getType() {
return type;
}
public void setType(int type) {
this.type = type;
}
public String getLoginUserName() { public String getLoginUserName() {
return loginUserName; return loginUserName;
} }
...@@ -51,6 +60,14 @@ public class Request <T> { ...@@ -51,6 +60,14 @@ public class Request <T> {
this.loginUserName = loginUserName; this.loginUserName = loginUserName;
} }
public Request(String userId, T body,String loginUserName,int type){
this.userId = userId;
this.body = body;
this.loginUserName = loginUserName;
this.type = type;
}
@Override @Override
public String toString() { public String toString() {
return "Request{" + return "Request{" +
......
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 sign in to comment