【8.3.3】【sys】更新接口获取最新的重置密码的字符串

dev-8.3.3
stylefeng 2025-01-20 14:24:54 +08:00
parent 97c664e850
commit 08745d3f55
1 changed files with 13 additions and 0 deletions

View File

@ -160,4 +160,17 @@ public class SysUserController {
return new SuccessResponseData<>();
}
/**
*
*
* @author fengshuonan
* @since 2025/1/20 14:21
*/
@GetResource(name = "获取最新的重置密码", path = "/sysUser/getResetPassword", requiredPermission = true,
requirePermissionCode = PermissionCodeConstants.RESET_PASSWORD)
public ResponseData<String> getResetPassword(SysUserRequest sysUserRequest) {
String password = SysConfigExpander.getDefaultPassWord();
return new SuccessResponseData<>(password);
}
}