|
@@ -72,14 +72,14 @@ public class FlowController {
|
|
|
|
|
|
@WebApiLog
|
|
|
@Operation(summary = "编辑")
|
|
|
- @PutMapping("/{id}")
|
|
|
+ @PostMapping("/edit/{id}")
|
|
|
public R update(@PathVariable Long id, @Valid @RequestBody FlowDetailVo vo) {
|
|
|
flowInfoService.updateFlow(id, vo);
|
|
|
return R.ok();
|
|
|
}
|
|
|
|
|
|
@Operation(summary = "删除")
|
|
|
- @DeleteMapping("/{id}")
|
|
|
+ @PostMapping("/del/{id}")
|
|
|
public R delete(@PathVariable Long id) {
|
|
|
flowInfoService.removeById(id);
|
|
|
return R.ok();
|