diff --git a/cloud-market-server/src/main/java/com/muyu/master/controller/DefinedController.java b/cloud-market-server/src/main/java/com/muyu/master/controller/DefinedController.java index b9a384b..0f8862d 100644 --- a/cloud-market-server/src/main/java/com/muyu/master/controller/DefinedController.java +++ b/cloud-market-server/src/main/java/com/muyu/master/controller/DefinedController.java @@ -54,31 +54,31 @@ public class DefinedController { // ); // } - - /** - * 接口添加 - */ - @PostMapping - @Operation(summary = "添加", description = "根据接口实体类添加,添加成功之后才可以使用支付类产品") - public Result save(@Validated @RequestBody Defined defined) { - definedService.save(defined); - return Result.success(); - } - - - /** - * 接口修改 - */ - @PutMapping("/{definedId}") - @Operation(summary = "修改", description = "通过ID修改信息") - public Result updateById( - @Validated @RequestBody Defined defined, - @Schema(title = "ID", defaultValue = "1", type = "Long", description = "修改信息所需的唯一条件") - @PathVariable("definedId") Long definedId) { - - definedService.updateById(defined); - return Result.success(); - } +// +// /** +// * 接口添加 +// */ +// @PostMapping +// @Operation(summary = "添加", description = "根据接口实体类添加,添加成功之后才可以使用支付类产品") +// public Result save(@Validated @RequestBody Defined defined) { +// definedService.save(defined); +// return Result.success(); +// } +// +// +// /** +// * 接口修改 +// */ +// @PutMapping("/{definedId}") +// @Operation(summary = "修改", description = "通过ID修改信息") +// public Result updateById( +// @Validated @RequestBody Defined defined, +// @Schema(title = "ID", defaultValue = "1", type = "Long", description = "修改信息所需的唯一条件") +// @PathVariable("definedId") Long definedId) { +// +// definedService.updateById(defined); +// return Result.success(); +// } }