dzx 2 miesięcy temu
rodzic
commit
242f976ea2

+ 1 - 1
src/main/java/com/xjrsoft/module/material/controller/MaterialTaskController.java

@@ -275,7 +275,7 @@ public class MaterialTaskController {
         return RT.fileStream(bot.toByteArray(), "MaterialFormData" + ExcelTypeEnum.XLSX.getValue());
     }
 
-    @PostMapping("/download-file")
+    @PostMapping("/download-file-export")
     @ApiOperation(value = "下载附件(zip压缩包)")
     public ResponseEntity<byte[]> downloadFile(@Valid @RequestBody MaterialTaskAssignListDto dto) {
         MaterialTask materialTask = materialTaskService.getById(dto.getMaterialTaskId());