| | |
| | | import com.whyc.pojo.Software; |
| | | import com.whyc.service.SoftwareService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.poi.openxml4j.exceptions.InvalidFormatException; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | @Autowired |
| | | private SoftwareService service; |
| | | |
| | | @ApiModelProperty("excel解析") |
| | | @ApiOperation("excel解析") |
| | | @PostMapping("excelParse") |
| | | public Response excelParse(@RequestParam MultipartFile multipartFile) throws IOException, InvalidFormatException, ParseException { |
| | | Response<Object> response = new Response<>(); |
| | |
| | | return response; |
| | | } |
| | | |
| | | @ApiOperation("软件上传") |
| | | @PostMapping("upload") |
| | | public Response upload(@RequestParam MultipartFile file1,@RequestParam MultipartFile file2,@RequestParam String softwareStr){ |
| | | |
| | | return null; |
| | | } |
| | | |
| | | @ApiOperation(value = "查询软件列表的信息") |
| | | @GetMapping("getAllSoftware") |
| | | public Response getAllSoftware(@RequestParam(required = false) String fileName,@RequestParam int pageCurr,@RequestParam int pageSize ){ |