fix:提交子账号

This commit is contained in:
ljy
2026-07-10 00:22:25 +08:00
parent b32e2a06eb
commit 301839e2dc
4 changed files with 28 additions and 8 deletions
@@ -44,7 +44,7 @@ export class PartnerStaffService {
partnerId: parent.partnerId,
phone,
name,
staffRole: PartnerStaffRole.INTERNAL,
staffRole: (dto.staffRole as PartnerStaffRole | undefined) ?? PartnerStaffRole.INTERNAL,
isPrimary: 0,
parentAccountId: parent.id,
status: 'DISABLED',