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
fa5edd05
Commit
fa5edd05
authored
Sep 19, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
9d0bdc96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
UserController.java
src/main/java/com/egolm/shop/controller/UserController.java
+3
-0
No files found.
src/main/java/com/egolm/shop/controller/UserController.java
View file @
fa5edd05
...
...
@@ -296,6 +296,9 @@ public class UserController {
@RequestMapping
(
value
=
"/queryUserInfoByOpenId"
,
method
=
RequestMethod
.
GET
)
public
String
queryUserInfoByOpenId
(
String
openId
,
String
langID
,
HttpServletRequest
request
,
HttpServletResponse
response
)
{
Map
<
String
,
Object
>
customerMap
=
userService
.
queryCustomerByOpenId
(
openId
);
if
(
customerMap
==
null
)
{
return
Rjx
.
jsonErr
().
setMessage
(
I18NUtils
.
getMessage
(
langID
,
"Msg_OpenID_notExist"
)).
toJson
();
}
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
();
...
...
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