Changes
parent
9bc4b202bf
commit
0eda954ab4
|
@ -55,8 +55,8 @@ public class RuleController {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Operation(summary = "规则修改", description = "根据规则的id")
|
@Operation(summary = "规则修改", description = "根据规则的id")
|
||||||
@PostMapping("/update")
|
@PutMapping("/update")
|
||||||
public Result update(Rule rule) {
|
public Result update(@RequestBody Rule rule) {
|
||||||
return Result.success(ruleService.updateById(rule));
|
return Result.success(ruleService.updateById(rule));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue