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
7825a27c
Commit
7825a27c
authored
Jul 07, 2019
by
Junling Bu
Browse files
fix[litemall-wx-api]: #226
parent
d10eeb94
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxAuthController.java
View file @
7825a27c
...
...
@@ -378,10 +378,7 @@ public class WxAuthController {
* 失败则 { errno: XXX, errmsg: XXX }
*/
@PostMapping
(
"reset"
)
public
Object
reset
(
@LoginUser
Integer
userId
,
@RequestBody
String
body
,
HttpServletRequest
request
)
{
if
(
userId
==
null
){
return
ResponseUtil
.
unlogin
();
}
public
Object
reset
(
@RequestBody
String
body
,
HttpServletRequest
request
)
{
String
password
=
JacksonUtil
.
parseString
(
body
,
"password"
);
String
mobile
=
JacksonUtil
.
parseString
(
body
,
"mobile"
);
String
code
=
JacksonUtil
.
parseString
(
body
,
"code"
);
...
...
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