This commit is contained in:
Park Byung Eun 2022-08-23 07:36:33 +00:00
parent f888299684
commit b3dfa69443

View File

@ -161,7 +161,7 @@ export class RegistComposeComponent implements OnInit {
const site = new Site();
const parentUsername = !!this.data.parent?.getUsername()
? this.data.parent?.getUsername()
: '';
: undefined;
site.setId(siteId);
member.setSiteId(siteId);
@ -169,7 +169,10 @@ export class RegistComposeComponent implements OnInit {
member.setPassword(password);
member.setMemberClassId(this.data.classId);
member.setMemberLevelId('c56231ac-2120-4a81-a30a-5d41fafb6c57');
if (!!parentUsername) {
member.setReferrerMemberUsername(parentUsername);
}
member.setNickname(nickname);
member.setMobilePhoneNumber(mobilePhoneNumber);
member.setBankAccount(bank_account);