Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-common
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
98a650f7
authored
Nov 13, 2020
by
zhangchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Request增加登录人参数
parent
1e7e0431
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/Request.java
fun-common-vo/src/main/java/com/ctrip/fun/common/vo/Request.java
View file @
98a650f7
...
...
@@ -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{"
+
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment