From 027799b38bc43a4057f762c08813a3eeb2a1023a Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Tue, 28 Feb 2023 17:12:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../apis/bigdatatemplate/BigdataTemplateController.java | 2 +- .../apis/picturestemplate/PicturesTemplateController.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/module-bigdata/src/main/java/cn/com/tenlion/bigdata/controller/apis/bigdatatemplate/BigdataTemplateController.java b/module-bigdata/src/main/java/cn/com/tenlion/bigdata/controller/apis/bigdatatemplate/BigdataTemplateController.java index 3449c04..4501358 100644 --- a/module-bigdata/src/main/java/cn/com/tenlion/bigdata/controller/apis/bigdatatemplate/BigdataTemplateController.java +++ b/module-bigdata/src/main/java/cn/com/tenlion/bigdata/controller/apis/bigdatatemplate/BigdataTemplateController.java @@ -43,7 +43,7 @@ public class BigdataTemplateController extends DefaultBaseController { @ApiOperation(value = "复制模板", notes = "复制模板") @ApiImplicitParams({ - @ApiImplicitParam(name = "id", value = "id", paramType = "String", example = "") + @ApiImplicitParam(name = "id", value = "id", paramType = "path", example = "") }) @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @PutMapping("copybigdatatemplate/{id}/{bigdataTemplateTitle}") diff --git a/module-building-pictures/src/main/java/cn/com/tenlion/buildingpictures/controller/apis/picturestemplate/PicturesTemplateController.java b/module-building-pictures/src/main/java/cn/com/tenlion/buildingpictures/controller/apis/picturestemplate/PicturesTemplateController.java index 6aa9992..fd1ebe1 100644 --- a/module-building-pictures/src/main/java/cn/com/tenlion/buildingpictures/controller/apis/picturestemplate/PicturesTemplateController.java +++ b/module-building-pictures/src/main/java/cn/com/tenlion/buildingpictures/controller/apis/picturestemplate/PicturesTemplateController.java @@ -42,7 +42,7 @@ public class PicturesTemplateController extends DefaultBaseController { @ApiOperation(value = "生成模板预览图", notes = "生成模板预览图") @ApiImplicitParams({ - @ApiImplicitParam(name = "picturesTemplateCode", value = "picturesTemplateCode", paramType = "String", example = "模板编码") + @ApiImplicitParam(name = "picturesTemplateCode", value = "picturesTemplateCode", paramType = "path", example = "模板编码") }) @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @PutMapping("buiderpicturestemplate/{picturesTemplateCode}") @@ -52,9 +52,9 @@ public class PicturesTemplateController extends DefaultBaseController { @ApiOperation(value = "复制新的模板", notes = "复制新的模板") @ApiImplicitParams({ - @ApiImplicitParam(name = "id", value = "id", paramType = "String", example = ""), - @ApiImplicitParam(name = "picturesTemplateCode", value = "picturesTemplateCode", paramType = "String", example = "新的编码"), - @ApiImplicitParam(name = "picturesTemplateTitle", value = "picturesTemplateTitle", paramType = "String", example = "新的标题") + @ApiImplicitParam(name = "id", value = "id", paramType = "path", example = ""), + @ApiImplicitParam(name = "picturesTemplateCode", value = "picturesTemplateCode", paramType = "path", example = "新的编码"), + @ApiImplicitParam(name = "picturesTemplateTitle", value = "picturesTemplateTitle", paramType = "path", example = "新的标题") }) @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @PutMapping("copypicturestemplate/{id}/{picturesTemplateCode}/{picturesTemplateTitle}")