小飞侠接口调通测试
This commit is contained in:
@@ -7,8 +7,10 @@ import {
|
||||
IsString,
|
||||
Min,
|
||||
} from 'class-validator';
|
||||
import { Type } from 'class-transformer';
|
||||
|
||||
export class XiaofeixiaEstimateFreightDto {
|
||||
@Type(() => Number)
|
||||
@IsNumber()
|
||||
@Min(0.01)
|
||||
weight: number;
|
||||
|
||||
Reference in New Issue
Block a user