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
@@ -9,6 +9,17 @@ export class CreatePartnerStaffDto {
@IsString()
@IsNotEmpty()
name: string;
/** 兼容旧客户端;未传时服务端默认 INTERNAL */
@IsOptional()
@IsString()
@IsIn(Object.values(PartnerStaffRole))
staffRole?: string;
/** 已废弃:子账号创建不再校验验证码,传入时忽略 */
@IsOptional()
@IsString()
code?: string;
}
export class UpdatePartnerStaffDto {