| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.File; |
| | | import java.io.FileInputStream; |
| | | import java.io.IOException; |
| | |
| | | return Result.ok(); |
| | | } |
| | | |
| | | @GetMapping("downloadXml") |
| | | public void downloadXml(HttpServletRequest request, HttpServletResponse response, String type,Long id,Integer xml) { |
| | | simulatAssessService.downloadXml(request, response,type,id,xml); |
| | | } |
| | | |
| | | @PutMapping |
| | | @ApiOperation("修改") |
| | | @LogOperation("修改") |