update 调整模型zip导出

master
gssong 2 years ago
parent f3207649ff
commit 7c7cfc8c39

@ -23,6 +23,7 @@ import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import java.util.Arrays; import java.util.Arrays;
import java.util.List;
/** /**
* *
@ -125,12 +126,12 @@ public class ActModelController extends BaseController {
/** /**
* zip * zip
* *
* @param modelId id * @param modelIds id
* @param response * @param response
*/ */
@GetMapping("/export/zip/{modelId}") @GetMapping("/export/zip/{modelIds}")
public void exportZip(@NotEmpty(message = "模型id不能为空") @PathVariable String modelId, public void exportZip(@NotEmpty(message = "模型id不能为空") @PathVariable List<String> modelIds,
HttpServletResponse response) { HttpServletResponse response) {
actModelService.exportZip(modelId, response); actModelService.exportZip(modelIds, response);
} }
} }

Loading…
Cancel
Save