create_member is modified

sample of bank account is added
This commit is contained in:
병준 박 2022-08-14 15:40:53 +00:00
parent 64ab9ce51b
commit 13ef5f8280

View File

@ -151,6 +151,11 @@ export class RegistComposeComponent implements OnInit {
accountHolder, accountHolder,
} = this.composeForm.value; } = this.composeForm.value;
let bank_account = new CreateMemberRequest.BankAccount();
bank_account.setBankId('');
bank_account.setName('');
bank_account.setAccountNumber('');
const member = new CreateMemberRequest(); const member = new CreateMemberRequest();
const site = new Site(); const site = new Site();
site.setId(siteName); site.setId(siteName);
@ -163,6 +168,7 @@ export class RegistComposeComponent implements OnInit {
member.setReferrerMemberUsername(this.data.parent.getUsername()); member.setReferrerMemberUsername(this.data.parent.getUsername());
member.setNickname(nickname); member.setNickname(nickname);
member.setMobilePhoneNumber(phoneNumber); member.setMobilePhoneNumber(phoneNumber);
member.setBankAccount(bank_account);
this._memberService this._memberService
.createMember(member) .createMember(member)