|
|
@ -74,6 +74,14 @@ public class PasswordsController {
|
|
|
|
return success(PasswordsConvert.INSTANCE.convert(passwords));
|
|
|
|
return success(PasswordsConvert.INSTANCE.convert(passwords));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/getLastPasswords")
|
|
|
|
|
|
|
|
@Operation(summary = "获得最新数据密码")
|
|
|
|
|
|
|
|
@PreAuthorize("@ss.hasPermission('setting:passwords:query')")
|
|
|
|
|
|
|
|
public CommonResult<PasswordsRespVO> getLastPasswords() {
|
|
|
|
|
|
|
|
PasswordsDO passwords = passwordsService.getLastPasswords();
|
|
|
|
|
|
|
|
return success(PasswordsConvert.INSTANCE.convert(passwords));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/jsonToXmlConverter")
|
|
|
|
@GetMapping("/jsonToXmlConverter")
|
|
|
|
@Operation(summary = "json带密码转xml")
|
|
|
|
@Operation(summary = "json带密码转xml")
|
|
|
|
@PreAuthorize("@ss.hasPermission('setting:passwords:query')")
|
|
|
|
@PreAuthorize("@ss.hasPermission('setting:passwords:query')")
|
|
|
|