[파일 업로드] tusHook 작업

- 진행중
This commit is contained in:
2026-03-05 17:26:53 +09:00
parent bb308493d5
commit 70e0b951c4
@@ -83,9 +83,10 @@ public class FileController {
}
@PostMapping("/tusHook")
public ResponseEntity<ApiResponse<String>> tusHook(@RequestBody TusHookForm tusHookForm) {
log.info("tusHookForm: {}", tusHookForm);
fileService.insertFileAndSave(tusHookForm.tusHookDto());
public ResponseEntity<ApiResponse<String>> tusHook(@RequestBody Map<String, Object> payload) {
// log.info("tusHookForm: {}", tusHookForm);
// fileService.insertFileAndSave(tusHookForm.tusHookDto());
log.info("[tusHook] payload={}", payload);
return ApiResponse.entity("", ApiResponseCode.CODE_200);
}
}