From d5d328a74ad3dc8beac2bfb0d686444c56fc81ed Mon Sep 17 00:00:00 2001 From: sy200 <2063514638@qq.com> Date: Fri, 23 Aug 2024 09:32:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=94=80defined=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../master/controller/DefinedController.java | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) 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(); +// } }