Commit 98a650f7 by zhangchen

Request增加登录人参数

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