bug fix
This commit is contained in:
parent
f888299684
commit
b3dfa69443
|
@ -161,7 +161,7 @@ export class RegistComposeComponent implements OnInit {
|
||||||
const site = new Site();
|
const site = new Site();
|
||||||
const parentUsername = !!this.data.parent?.getUsername()
|
const parentUsername = !!this.data.parent?.getUsername()
|
||||||
? this.data.parent?.getUsername()
|
? this.data.parent?.getUsername()
|
||||||
: '';
|
: undefined;
|
||||||
site.setId(siteId);
|
site.setId(siteId);
|
||||||
|
|
||||||
member.setSiteId(siteId);
|
member.setSiteId(siteId);
|
||||||
|
@ -169,7 +169,10 @@ export class RegistComposeComponent implements OnInit {
|
||||||
member.setPassword(password);
|
member.setPassword(password);
|
||||||
member.setMemberClassId(this.data.classId);
|
member.setMemberClassId(this.data.classId);
|
||||||
member.setMemberLevelId('c56231ac-2120-4a81-a30a-5d41fafb6c57');
|
member.setMemberLevelId('c56231ac-2120-4a81-a30a-5d41fafb6c57');
|
||||||
|
if (!!parentUsername) {
|
||||||
member.setReferrerMemberUsername(parentUsername);
|
member.setReferrerMemberUsername(parentUsername);
|
||||||
|
}
|
||||||
|
|
||||||
member.setNickname(nickname);
|
member.setNickname(nickname);
|
||||||
member.setMobilePhoneNumber(mobilePhoneNumber);
|
member.setMobilePhoneNumber(mobilePhoneNumber);
|
||||||
member.setBankAccount(bank_account);
|
member.setBankAccount(bank_account);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user