mirror of https://gitee.com/y_project/RuoYi.git
进入重置密码页校验数据权限
parent
bbeb6d3b28
commit
9333d9411b
|
@ -215,6 +215,7 @@ public class SysUserController extends BaseController
|
||||||
@GetMapping("/resetPwd/{userId}")
|
@GetMapping("/resetPwd/{userId}")
|
||||||
public String resetPwd(@PathVariable("userId") Long userId, ModelMap mmap)
|
public String resetPwd(@PathVariable("userId") Long userId, ModelMap mmap)
|
||||||
{
|
{
|
||||||
|
userService.checkUserDataScope(userId);
|
||||||
mmap.put("user", userService.selectUserById(userId));
|
mmap.put("user", userService.selectUserById(userId));
|
||||||
return prefix + "/resetPwd";
|
return prefix + "/resetPwd";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue