Changes
parent
5a4ea516da
commit
fa195f5ff4
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue