手机号核销确认

This commit is contained in:
2026-07-12 10:34:58 +08:00
parent 7f031cc4c2
commit d949301bc1
17 changed files with 1285 additions and 215 deletions
@@ -643,6 +643,51 @@ export class AdminRedeemDebugStoreTokenDto {
token: string;
}
export class AdminRedeemDebugPhoneStoreDto {
@IsString()
@IsNotEmpty()
storeId: string;
@IsString()
@IsNotEmpty()
phone: string;
}
export class AdminRedeemDebugPhoneBalanceDto extends AdminRedeemDebugPhoneStoreDto {
@IsString()
@IsNotEmpty()
code: string;
}
export class AdminRedeemDebugPhonePrepareDto {
@IsString()
@IsNotEmpty()
storeId: string;
@IsString()
@IsNotEmpty()
sessionId: string;
@Type(() => Number)
@IsNumber()
@Min(0.01)
amount: number;
}
export class AdminRedeemDebugPhoneConfirmDto {
@IsString()
@IsNotEmpty()
storeId: string;
@IsString()
@IsNotEmpty()
sessionId: string;
@IsString()
@IsNotEmpty()
code: string;
}
export class UpdateDeliveryDto {
@IsOptional()
@IsString()