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