master
chentaisen 2024-08-25 18:44:11 +08:00
parent 9bc4b202bf
commit 0eda954ab4
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ public class RuleController {
* @return
*/
@Operation(summary = "规则修改", description = "根据规则的id")
@PostMapping("/update")
public Result update(Rule rule) {
@PutMapping("/update")
public Result update(@RequestBody Rule rule) {
return Result.success(ruleService.updateById(rule));
}