mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-02-21 00:17:05 +01:00
Update WatermarkController.java
This commit is contained in:
parent
cab3fe1bf4
commit
c9cb1959b3
@ -34,7 +34,7 @@ public class WatermarkController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/add-watermark")
|
@PostMapping("/add-watermark")
|
||||||
public ResponseEntity<byte[]> addWatermark(@RequestParam("pdfFile") MultipartFile pdfFile,
|
public ResponseEntity<byte[]> addWatermark(@RequestParam("fileInput") MultipartFile pdfFile,
|
||||||
@RequestParam("watermarkText") String watermarkText,
|
@RequestParam("watermarkText") String watermarkText,
|
||||||
@RequestParam(defaultValue = "30", name = "fontSize") float fontSize,
|
@RequestParam(defaultValue = "30", name = "fontSize") float fontSize,
|
||||||
@RequestParam(defaultValue = "0", name = "rotation") float rotation,
|
@RequestParam(defaultValue = "0", name = "rotation") float rotation,
|
||||||
|
Loading…
Reference in New Issue
Block a user