From 6b7aa9452a163412d2654c2e743fb664685a118b Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期一, 17 二月 2025 11:41:11 +0800 Subject: [PATCH] 全部请求参数调整 --- basic-server/src/main/java/com/ruoyi/basic/controller/CapacityScopeController.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/basic-server/src/main/java/com/ruoyi/basic/controller/CapacityScopeController.java b/basic-server/src/main/java/com/ruoyi/basic/controller/CapacityScopeController.java index 810c430..a18e4a1 100644 --- a/basic-server/src/main/java/com/ruoyi/basic/controller/CapacityScopeController.java +++ b/basic-server/src/main/java/com/ruoyi/basic/controller/CapacityScopeController.java @@ -60,7 +60,7 @@ private StandardTemplateService standardTemplateService; @ApiOperation(value = "鑾峰彇椤圭洰妫�楠屽弬鏁板垪琛�") - @PostMapping("/selectItemParameterList") + @GetMapping("/selectItemParameterList") public Result selectItemParameterList(Page page,StructureItemParameter itemParameter) throws Exception { return Result.success(capacityScopeService.selectItemParameterList(page, itemParameter)); } @@ -72,7 +72,7 @@ } @ApiOperation(value = "鍒犻櫎椤圭洰妫�楠屽弬鏁�") - @PostMapping("/delItemParameter") + @DeleteMapping("/delItemParameter") public Result<?> delItemParameter(Integer id) { return Result.success(capacityScopeService.delItemParameter(id)); } @@ -84,7 +84,7 @@ } @ApiOperation(value = "鑾峰彇妫�楠屽璞�") - @PostMapping("/selectTestObjectList") + @GetMapping("/selectTestObjectList") public Result selectTestObjectList(Page page,PageTestObjectDto pageTestObjectDto) throws Exception { return Result.success(capacityScopeService.selectTestObjectList(page, pageTestObjectDto)); } @@ -96,7 +96,7 @@ } @ApiOperation(value = "鍒犻櫎妫�楠屽璞�") - @PostMapping("/delTestObject") + @DeleteMapping("/delTestObject") public Result<?> delTestObject(Integer id) { return Result.success(capacityScopeService.delTestObject(id)); } @@ -114,13 +114,13 @@ } @ApiOperation(value = "璁惧閲岄潰閫夋嫨妫�楠岄」鐩�(鏍戝舰缁撴瀯)") - @PostMapping("/getInsProduction") + @GetMapping("/getInsProduction") public Result getInsProduction() { return Result.success(capacityScopeService.getInsProduction()); } @ApiOperation(value = "缁存姢妫�楠屽璞$殑浜у搧") - @PostMapping("/selectProductListByObjectId") + @GetMapping("/selectProductListByObjectId") public Result selectProductListByObjectId(Page page,ProductDTO1 productDTO) throws Exception { return Result.success(productService.selectProductListByObjectId(page, productDTO)); } @@ -138,7 +138,7 @@ } @ApiOperation(value = "鍒犻櫎浜у搧") - @PostMapping("/delProduct") + @DeleteMapping("/delProduct") public Result delProduct(Integer id) { return Result.success(productService.delProduct(id)); } -- Gitblit v1.9.3