feat 默认分账组功能

This commit is contained in:
xxm1995
2024-04-08 10:21:15 +08:00
parent d1010c2572
commit ccbc09cb84
3 changed files with 27 additions and 2 deletions

View File

@@ -98,4 +98,18 @@ public class AllocationGroupController {
return Res.ok();
}
@Operation(summary = "设置默认分账组")
@PostMapping("/setDefault")
public ResResult<Void> setDefault(Long id){
allocationGroupService.setUpDefault(id);
return Res.ok();
}
@Operation(summary = "清除默认分账组")
@PostMapping("/clearDefault")
public ResResult<Void> clearDefault(Long id){
allocationGroupService.clearDefault(id);
return Res.ok();
}
}