From 13ef5f8280a4502abb2aa433b31a6226dcc130d1 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Sun, 14 Aug 2022 15:40:53 +0000 Subject: [PATCH] create_member is modified sample of bank account is added --- .../member/partner/compose/regist-compose.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/app/modules/admin/member/partner/compose/regist-compose.component.ts b/src/app/modules/admin/member/partner/compose/regist-compose.component.ts index dbfef41..8609a19 100644 --- a/src/app/modules/admin/member/partner/compose/regist-compose.component.ts +++ b/src/app/modules/admin/member/partner/compose/regist-compose.component.ts @@ -151,6 +151,11 @@ export class RegistComposeComponent implements OnInit { accountHolder, } = this.composeForm.value; + let bank_account = new CreateMemberRequest.BankAccount(); + bank_account.setBankId(''); + bank_account.setName(''); + bank_account.setAccountNumber(''); + const member = new CreateMemberRequest(); const site = new Site(); site.setId(siteName); @@ -163,6 +168,7 @@ export class RegistComposeComponent implements OnInit { member.setReferrerMemberUsername(this.data.parent.getUsername()); member.setNickname(nickname); member.setMobilePhoneNumber(phoneNumber); + member.setBankAccount(bank_account); this._memberService .createMember(member)