系统集成
This commit is contained in:
parent
f929928a18
commit
04d4a4f112
|
|
@ -10,6 +10,7 @@ import com.bonus.file.service.FileUploadService;
|
|||
import com.bonus.file.service.SourceFileService;
|
||||
import com.bonus.file.util.FileUtil;
|
||||
import com.bonus.file.util.MinioUtil;
|
||||
import com.bonus.mainDataBase.service.ITestService;
|
||||
import com.bonus.ocr.service.OcrService;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
|
@ -49,6 +50,9 @@ public class FileUploadController {
|
|||
@Resource
|
||||
private MinioUtil minioUtil;
|
||||
|
||||
@Resource(name = "TestService")
|
||||
private ITestService testService;
|
||||
|
||||
|
||||
@PostMapping(value = "uploadFile")
|
||||
private AjaxResult uploadFile(@RequestParam(name = "file",required = false) MultipartFile file) throws Exception {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,20 @@
|
|||
package com.bonus.mainDataBase.service.impl;
|
||||
|
||||
import com.bonus.common.domain.file.po.ResourceFilePo;
|
||||
import com.bonus.mainDataBase.service.ITestService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @className:TestServiceImpl
|
||||
* @author:cwchen
|
||||
* @date:2025-10-17-16:50
|
||||
* @version:1.0
|
||||
* @description:测试
|
||||
*/
|
||||
@Service(value = "TestService")
|
||||
public class TestServiceImpl implements ITestService {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue