| | |
| | | import com.fgkj.mapper.impl.BattInfMapper; |
| | | import com.fgkj.services.FileService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | |
| | | @RequestMapping("fileUpload") |
| | | @RestController |
| | | @Api |
| | | @Api(tags = "fileUpload接口") |
| | | public class FileUploadController { |
| | | |
| | | @Resource |
| | |
| | | |
| | | //上传fbo/idc文件 |
| | | @PostMapping("uploadFboFile") |
| | | @ApiOperation(notes = "TODO ",value="上传fbo/idc文件") |
| | | public List UploadFboFile(@RequestParam File[] file, @RequestParam String[] fileFileName, |
| | | @RequestParam int battgroupid) throws FileNotFoundException { |
| | | //String path = ServletActionContext.getRequest().getRealPath("/upload"); |