|
|
|
@ -74,6 +74,14 @@ public class PasswordsController {
|
|
|
|
|
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")
|
|
|
|
|
@Operation(summary = "json带密码转xml")
|
|
|
|
|
@PreAuthorize("@ss.hasPermission('setting:passwords:query')")
|
|
|
|
|