Commit 98a650f7 by zhangchen

Request增加登录人参数

parent 1e7e0431
......@@ -10,8 +10,18 @@ package com.ctrip.fun.common.vo;
public class Request <T> {
private String userId;
private T body;
private String loginUserName;
public String getUserId() {
public String getLoginUserName() {
return loginUserName;
}
public void setLoginUserName(String loginUserName) {
this.loginUserName = loginUserName;
}
public String getUserId() {
return userId;
}
......@@ -34,6 +44,12 @@ public class Request <T> {
this.userId = userId;
this.body = body;
}
public Request(String userId, T body,String loginUserName){
this.userId = userId;
this.body = body;
this.loginUserName = loginUserName;
}
@Override
public String toString() {
......
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