Antd upload uploads a file. How should the backend write to get the file?

antd upload uploads an image. How should the backend write to get the file?

the backend did not get any requests after the image was uploaded

@ RestController
@ RequestMapping ((AppConstants.ROOT_URL)
public class RefundUploadController extends BaseController {

@Autowired
private RefundUploadService refundUploadService;

@PostMapping(value = "/order/refundUpload", produces = "text/html; charset=UTF-8")
@ResponseBody
public String upload(RefundUploadRequest refundUploadRequest) {
    return refundUploadService.upload(buildRefundUploadRequest(refundUploadRequest));
}

}

Aug.18,2021
Menu