fix():修复删除接口

yuan
yuan 2024-08-26 10:47:09 +08:00
parent 4f209fd027
commit f788f10199
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class RuleDataController {
@DeleteMapping("/del/{ruleId}")
@Operation(summary = "接口规则删除",description = "通过ID删除接口规则")
public Result<String> delete(@PathVariable("ruleId") Long ruleId){
ruleDataService.getOptById(ruleId);
ruleDataService.removeById(ruleId);
return Result.success(null,"操作成功");
}