‘liusuyi’
2023-10-16 c53a2ea070b48ecd9fbdba1f0851510a01efef89
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserController.java
@@ -243,7 +243,7 @@
     * 修改密码
     */
    @ApiOperation("修改密码")
    @PreAuthorize("@ss.hasPermi('system:user:changePwd')")
//    @PreAuthorize("@ss.hasPermi('system:user:changePwd')")
    @PutMapping("/changePwd")
    public Results changePwd(String newPassword) {
        String userId = SecurityUtils.getUserId();