feat:添加银行

This commit is contained in:
苏竹红
2025-04-21 16:13:21 +08:00
parent 62aad29949
commit 87b015f782
7 changed files with 59 additions and 0 deletions

View File

@@ -35,6 +35,12 @@ public class BankController {
return ResponseResult.success(result);
}
@ApiOperation("添加银行")
@GetMapping("/addBank")
public ResponseResult<Boolean> listBank(@RequestParam(required = true) String name) {
return ResponseResult.success( bankService.addBank(name));
}
@ApiOperation("支行列表查询")
@PostMapping("/listBranchBank")
public ResponseResult<PageInfo<BankdocDO>> listBranchBank(@RequestBody @Validated BranchBankPageRequest request) {