...
|
...
|
@@ -98,6 +98,9 @@ public class UserController { |
|
|
@LogAnnotation(moduleName = "用户管理",operate = "用户密码修改")
|
|
|
@PutMapping("/password")
|
|
|
public ResultJson updateUserPassById(@RequestBody KakoUser user){
|
|
|
KakoUser kakoUser = new KakoUser();
|
|
|
kakoUser.setId(user.getId());
|
|
|
kakoUser.setPassword(user.getPassword());
|
|
|
int i = userService.updateByPrimaryKeySelective(user);
|
|
|
return i==1 ? new ResultJson("200","success") :new ResultJson("500","update faild");
|
|
|
}
|
...
|
...
|
|