Commit e6aeca41 authored by unset's avatar unset

添加通知信息

parent d356484c
...@@ -100,4 +100,5 @@ public class AppUserVo { ...@@ -100,4 +100,5 @@ public class AppUserVo {
@ApiModelProperty(value = "用户会员名称") @ApiModelProperty(value = "用户会员名称")
private String memberName; private String memberName;
private String password;
} }
...@@ -193,6 +193,14 @@ public class AppUserController extends CommonBaseController{ ...@@ -193,6 +193,14 @@ public class AppUserController extends CommonBaseController{
return ObjectRestResponse.succ(); return ObjectRestResponse.succ();
} }
@PostMapping(value = "changePwd")
public ObjectRestResponse changePwd(@RequestBody AppUserLogin userVo,HttpServletRequest request) throws Exception {
String id = userAuthUtil.getInfoFromToken(userAuthConfig.getToken(request)).getId();
userVo.setId(Integer.valueOf(id));
appUserLoginBiz.updatePasswordById(userVo);
return ObjectRestResponse.succ();
}
/** /**
* 第三方登录绑定 * 第三方登录绑定
* @param wxOpenId * @param wxOpenId
......
Markdown is supported
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