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}")