[파일 업로드] tusHook 작업
- 진행중
This commit is contained in:
@@ -83,9 +83,10 @@ public class FileController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/tusHook")
|
@PostMapping("/tusHook")
|
||||||
public ResponseEntity<ApiResponse<String>> tusHook(@RequestBody TusHookForm tusHookForm) {
|
public ResponseEntity<ApiResponse<String>> tusHook(@RequestBody Map<String, Object> payload) {
|
||||||
log.info("tusHookForm: {}", tusHookForm);
|
// log.info("tusHookForm: {}", tusHookForm);
|
||||||
fileService.insertFileAndSave(tusHookForm.tusHookDto());
|
// fileService.insertFileAndSave(tusHookForm.tusHookDto());
|
||||||
|
log.info("[tusHook] payload={}", payload);
|
||||||
return ApiResponse.entity("", ApiResponseCode.CODE_200);
|
return ApiResponse.entity("", ApiResponseCode.CODE_200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user