| | |
| | | import javax.servlet.http.HttpServletRequest; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | | |
| | | @RestController |
| | | @Api(tags = "反馈管理") |
| | |
| | | |
| | | @ApiOperation("提交反馈") |
| | | @PostMapping("submitFeedback") |
| | | public Response submitFeedback(@RequestPart(required = false) MultipartFile multipartFile,@RequestParam String feedbackJson) throws IOException, MessagingException { |
| | | public Response submitFeedback(@RequestPart(required = false) List<MultipartFile> multipartFileList, @RequestParam String feedbackJson) throws IOException, MessagingException { |
| | | BOMFeedback feedback = ActionUtil.getGson().fromJson(feedbackJson, BOMFeedback.class); |
| | | return service.submitFeedback(feedback,multipartFile); |
| | | return service.submitFeedback(feedback,multipartFileList); |
| | | } |
| | | |
| | | @ApiOperation(value = "根据文件路径下载") |