参数问题
This commit is contained in:
parent
a15c05f8f3
commit
027799b38b
@ -43,7 +43,7 @@ public class BigdataTemplateController extends DefaultBaseController {
|
|||||||
|
|
||||||
@ApiOperation(value = "复制模板", notes = "复制模板")
|
@ApiOperation(value = "复制模板", notes = "复制模板")
|
||||||
@ApiImplicitParams({
|
@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)})
|
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
||||||
@PutMapping("copybigdatatemplate/{id}/{bigdataTemplateTitle}")
|
@PutMapping("copybigdatatemplate/{id}/{bigdataTemplateTitle}")
|
||||||
|
@ -42,7 +42,7 @@ public class PicturesTemplateController extends DefaultBaseController {
|
|||||||
|
|
||||||
@ApiOperation(value = "生成模板预览图", notes = "生成模板预览图")
|
@ApiOperation(value = "生成模板预览图", notes = "生成模板预览图")
|
||||||
@ApiImplicitParams({
|
@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)})
|
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
||||||
@PutMapping("buiderpicturestemplate/{picturesTemplateCode}")
|
@PutMapping("buiderpicturestemplate/{picturesTemplateCode}")
|
||||||
@ -52,9 +52,9 @@ public class PicturesTemplateController extends DefaultBaseController {
|
|||||||
|
|
||||||
@ApiOperation(value = "复制新的模板", notes = "复制新的模板")
|
@ApiOperation(value = "复制新的模板", notes = "复制新的模板")
|
||||||
@ApiImplicitParams({
|
@ApiImplicitParams({
|
||||||
@ApiImplicitParam(name = "id", value = "id", paramType = "String", example = ""),
|
@ApiImplicitParam(name = "id", value = "id", paramType = "path", example = ""),
|
||||||
@ApiImplicitParam(name = "picturesTemplateCode", value = "picturesTemplateCode", paramType = "String", example = "新的编码"),
|
@ApiImplicitParam(name = "picturesTemplateCode", value = "picturesTemplateCode", paramType = "path", example = "新的编码"),
|
||||||
@ApiImplicitParam(name = "picturesTemplateTitle", value = "picturesTemplateTitle", paramType = "String", example = "新的标题")
|
@ApiImplicitParam(name = "picturesTemplateTitle", value = "picturesTemplateTitle", paramType = "path", example = "新的标题")
|
||||||
})
|
})
|
||||||
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
|
||||||
@PutMapping("copypicturestemplate/{id}/{picturesTemplateCode}/{picturesTemplateTitle}")
|
@PutMapping("copypicturestemplate/{id}/{picturesTemplateCode}/{picturesTemplateTitle}")
|
||||||
|
Loading…
Reference in New Issue
Block a user