mirror of https://gitee.com/stylefeng/roses
【8.3.3】【sys】更新接口获取最新的重置密码的字符串
parent
97c664e850
commit
08745d3f55
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue