Changes
This commit is contained in:
+2
-2
@@ -29,11 +29,11 @@ public interface BridgeApi {
|
||||
@Operation(summary = "新增桥梁")
|
||||
Result<Boolean> create(@RequestBody BridgeModel model);
|
||||
|
||||
@PostMapping(PREFIX + "/update")
|
||||
@PutMapping(PREFIX + "/update")
|
||||
@Operation(summary = "修改桥梁")
|
||||
Result<Boolean> update(@RequestBody BridgeModel model);
|
||||
|
||||
@PostMapping(PREFIX + "/delete")
|
||||
@DeleteMapping(PREFIX + "/delete")
|
||||
@Operation(summary = "删除桥梁")
|
||||
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("ids") String ids);
|
||||
|
||||
|
||||
+3
-6
@@ -10,10 +10,7 @@ import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
/**
|
||||
* 道路信息表
|
||||
@@ -32,11 +29,11 @@ public interface RoadApi {
|
||||
@Operation(summary = "新增道路")
|
||||
Result<Boolean> create(@RequestBody RoadModel model);
|
||||
|
||||
@PostMapping(PREFIX + "/update")
|
||||
@PutMapping(PREFIX + "/update")
|
||||
@Operation(summary = "修改道路")
|
||||
Result<Boolean> update(@RequestBody RoadModel model);
|
||||
|
||||
@PostMapping(PREFIX + "/delete")
|
||||
@DeleteMapping(PREFIX + "/delete")
|
||||
@Operation(summary = "删除道路")
|
||||
Result<Boolean> delete(@Parameter(description = "主键") @RequestParam("ids") String ids);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user