Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-mobile
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
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
c6105db2
authored
Oct 15, 2020
by
caosy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6.7.1
parent
08f556d9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
src/main/java/com/ctrip/fun/golf/api/user/UserMController.java
src/main/resources/rpc.properties
src/main/java/com/ctrip/fun/golf/api/user/UserMController.java
View file @
c6105db2
...
...
@@ -111,6 +111,8 @@ public class UserMController {
@Autowired
private
UserInvoiceTitleMService
userInvoiceTitleMService
=
null
;
@ResponseBody
@RequestMapping
(
value
=
"/v1/users/setCookie"
,
method
=
RequestMethod
.
GET
,
params
=
{
"userDevice"
})
public
String
setCookie
(
...
...
@@ -744,6 +746,7 @@ public class UserMController {
if
(
userBean
==
null
){
return
null
;
}
Map
<
String
,
Comparable
>
mp
=
new
HashMap
<>();
mp
.
put
(
"token"
,
userQuery
.
getToken
());
// add by caosy
mp
.
put
(
"address"
,
userBean
.
getAddress
());
...
...
@@ -799,6 +802,7 @@ public class UserMController {
mp
.
put
(
"occupation"
,
userBean
.
getOccupation
());
mp
.
put
(
"hobby"
,
userBean
.
getHobby
());
mp
.
put
(
"golfLevel"
,
userBean
.
getGolfLevel
());
mp
.
put
(
"userWorkerId"
,
userBean
.
getUserWorkerId
());
return
mp
;
}
...
...
src/main/resources/rpc.properties
View file @
c6105db2
...
...
@@ -454,3 +454,7 @@ uri.scorematch.recordUsers=/fun-golf-service/scorematch/recordUsers
uri.scorematch.closeMatch
=
/fun-golf-service/scorematch/closeMatch
uri.scorematch.detail
=
/fun-golf-service/scorematch/detail
uri.scorematch.myMatchStatus
=
/fun-golf-service/scorematch/myMatchStatus
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