create_member is modified
sample of bank account is added
This commit is contained in:
parent
64ab9ce51b
commit
13ef5f8280
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user