Changes
parent
6404b657ad
commit
6d48ee8577
|
@ -27,7 +27,7 @@ public class RuleController {
|
|||
* @return
|
||||
*/
|
||||
@RequestMapping(path = "/list",method = RequestMethod.POST)
|
||||
@Operation(summary = "查看规则", description = "规则")
|
||||
@Operation(summary = "查看规则", description = "查看规则")
|
||||
public Result<List<Rule>> select(@RequestBody Rule rule) {
|
||||
return Result.success(ruleService.select(rule));
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ public class RuleController {
|
|||
*
|
||||
* @return
|
||||
*/
|
||||
@Operation(summary = "查看客户", description = "根据客户的名称、编码、是否开启等可以进行客户的筛选")
|
||||
@Operation(summary = "规则修改", description = "根据规则的id")
|
||||
@PutMapping("/update")
|
||||
public Result update(@RequestBody Rule rule) {
|
||||
return Result.success(ruleService.updateById(rule));
|
||||
|
|
Loading…
Reference in New Issue