Commit 7825a27c authored by Junling Bu's avatar Junling Bu
Browse files

fix[litemall-wx-api]: #226

parent d10eeb94
......@@ -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");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment