fix
This commit is contained in:
parent
48ad6da53a
commit
eba7cc53bb
@ -104,7 +104,7 @@ public class FileQueryController {
|
|||||||
@GetMapping("/fetch-os-upload-history")
|
@GetMapping("/fetch-os-upload-history")
|
||||||
public ResponseEntity<?> listUploadedFiles(
|
public ResponseEntity<?> listUploadedFiles(
|
||||||
@CookieValue(value = ConstantConfig.COOKIE_KEY, required = false) String cookieToken,
|
@CookieValue(value = ConstantConfig.COOKIE_KEY, required = false) String cookieToken,
|
||||||
@RequestHeader("Authorization") String token,
|
@RequestHeader(value = "Authorization", required = false) String token,
|
||||||
@RequestParam(defaultValue = "1") int page,
|
@RequestParam(defaultValue = "1") int page,
|
||||||
@RequestParam(defaultValue = "10") int size
|
@RequestParam(defaultValue = "10") int size
|
||||||
) {
|
) {
|
||||||
|
|||||||
@ -138,7 +138,7 @@ public class FileWriteController {
|
|||||||
@PostMapping("/upload-files")
|
@PostMapping("/upload-files")
|
||||||
public ResponseEntity<?> uploadFolderToOS(
|
public ResponseEntity<?> uploadFolderToOS(
|
||||||
@CookieValue(value = ConstantConfig.COOKIE_KEY, required = false) String cookieToken,
|
@CookieValue(value = ConstantConfig.COOKIE_KEY, required = false) String cookieToken,
|
||||||
@RequestHeader("Authorization") String token,
|
@RequestHeader(value = "Authorization", required = false) String token,
|
||||||
@RequestParam("files") MultipartFile[] files,
|
@RequestParam("files") MultipartFile[] files,
|
||||||
@RequestParam("bucket") String bucket
|
@RequestParam("bucket") String bucket
|
||||||
) {
|
) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user