master
chentaisen 2024-08-23 22:23:23 +08:00
parent 5a4ea516da
commit fa195f5ff4
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ public class RuleController {
*/
@DeleteMapping("/delete/{id}")
@Operation(summary = "规则删除", description = "规则删除")
public Result delete(@PathVariable Integer id) {
public Result delete(@PathVariable("id") Integer id) {
return Result.success(ruleService.removeById(id));
}