Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
a85d88b1
Commit
a85d88b1
authored
Apr 20, 2019
by
Junling Bu
Browse files
feat[litemall-wx-api]: 账号不存在,返回合适的报错信息
parent
5153beeb
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxAuthController.java
View file @
a85d88b1
...
...
@@ -79,7 +79,7 @@ public class WxAuthController {
if
(
userList
.
size
()
>
1
)
{
return
ResponseUtil
.
serious
();
}
else
if
(
userList
.
size
()
==
0
)
{
return
ResponseUtil
.
badArgumentValue
(
);
return
ResponseUtil
.
fail
(
AUTH_INVALID_ACCOUNT
,
"账号不存在"
);
}
else
{
user
=
userList
.
get
(
0
);
}
...
...
Write
Preview
Supports
Markdown
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