Update WatermarkController.java
This commit is contained in:
parent
cab3fe1bf4
commit
c9cb1959b3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue