开合伙人子账号要验证手机号

This commit is contained in:
2026-07-12 17:53:54 +08:00
parent 908a5dcf0f
commit 3b4833b51a
7 changed files with 176 additions and 3 deletions
@@ -1,11 +1,21 @@
import { IsArray, IsIn, IsNotEmpty, IsOptional, IsString } from 'class-validator';
import { AccountStatus, PartnerStaffRole } from '@dukang/shared-types';
export class SendPartnerStaffPhoneSmsDto {
@IsString()
@IsNotEmpty()
phone: string;
}
export class CreatePartnerStaffDto {
@IsString()
@IsNotEmpty()
phone: string;
@IsString()
@IsNotEmpty()
smsCode: string;
@IsString()
@IsNotEmpty()
name: string;