Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
shop
Commits
cf835725
Commit
cf835725
authored
Sep 17, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
1ca700a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
UserController.java
src/main/java/com/egolm/shop/controller/UserController.java
+2
-1
No files found.
src/main/java/com/egolm/shop/controller/UserController.java
View file @
cf835725
...
@@ -217,7 +217,7 @@ public class UserController {
...
@@ -217,7 +217,7 @@ public class UserController {
shopList
.
add
(
shopMap
);
shopList
.
add
(
shopMap
);
}
}
customerMap
.
put
(
"sShopNO"
,
shopList
.
get
(
0
).
get
(
"sShopNO"
));
customerMap
.
put
(
"sShopNO"
,
shopList
.
get
(
0
).
get
(
"sShopNO"
));
return
Rjx
.
jsonOk
().
set
(
"customer"
,
customerMap
).
set
(
"shopList"
,
shopList
).
setMessage
(
I18NUtils
.
getMessage
(
langID
,
"Msg_Login_success"
)).
toJson
(
);
return
this
.
queryUserInfoByOpenId
(
openId
,
langID
,
request
,
response
);
}
}
@ApiOperation
(
"修改认证信息"
)
@ApiOperation
(
"修改认证信息"
)
...
@@ -294,6 +294,7 @@ public class UserController {
...
@@ -294,6 +294,7 @@ public class UserController {
public
String
queryUserInfoByOpenId
(
String
openId
,
String
langID
,
HttpServletRequest
request
,
HttpServletResponse
response
)
{
public
String
queryUserInfoByOpenId
(
String
openId
,
String
langID
,
HttpServletRequest
request
,
HttpServletResponse
response
)
{
Map
<
String
,
Object
>
customerMap
=
userService
.
queryCustomerByOpenId
(
openId
);
Map
<
String
,
Object
>
customerMap
=
userService
.
queryCustomerByOpenId
(
openId
);
List
<
Map
<
String
,
Object
>>
shopList
=
userService
.
queryShopList
((
String
)
customerMap
.
get
(
"sCustNO"
));
List
<
Map
<
String
,
Object
>>
shopList
=
userService
.
queryShopList
((
String
)
customerMap
.
get
(
"sCustNO"
));
customerMap
.
put
(
"sShopNO"
,
shopList
.
get
(
0
).
get
(
"sShopNO"
));
return
Rjx
.
jsonOk
().
set
(
"customer"
,
customerMap
).
set
(
"shopList"
,
shopList
).
setMessage
(
I18NUtils
.
getMessage
(
langID
,
"Msg_Login_success"
)).
toJson
();
return
Rjx
.
jsonOk
().
set
(
"customer"
,
customerMap
).
set
(
"shopList"
,
shopList
).
setMessage
(
I18NUtils
.
getMessage
(
langID
,
"Msg_Login_success"
)).
toJson
();
}
}
}
}
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