From a36a07ae6f7f91f8487fea71b472315e1c50fb49 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 11 五月 2024 19:12:17 +0800 Subject: [PATCH] !531 主建错别字修复 Merge pull request !531 from LiuHengShu/错别字修复 --- ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/controller/ActModelController.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/controller/ActModelController.java b/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/controller/ActModelController.java index ebe0882..3332f86 100644 --- a/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/controller/ActModelController.java +++ b/ruoyi-modules/ruoyi-workflow/src/main/java/org/dromara/workflow/controller/ActModelController.java @@ -126,7 +126,7 @@ /** * 瀵煎嚭妯″瀷zip鍘嬬缉鍖� * - * @param modelIds 妯″瀷id + * @param modelIds 妯″瀷id * @param response 鐩稿簲 */ @GetMapping("/export/zip/{modelIds}") @@ -134,4 +134,14 @@ HttpServletResponse response) { actModelService.exportZip(modelIds, response); } + + /** + * 澶嶅埗妯″瀷 + * + * @param modelBo 妯″瀷鏁版嵁 + */ + @PostMapping("/copyModel") + public R<Void> copyModel(@RequestBody ModelBo modelBo) { + return toAjax(actModelService.copyModel(modelBo)); + } } -- Gitblit v1.9.3