diff --git a/src/dto/api.dto.ts b/src/dto/api.dto.ts index a10f6c2..b681336 100644 --- a/src/dto/api.dto.ts +++ b/src/dto/api.dto.ts @@ -76,23 +76,6 @@ export class ShopyyGetAllOrdersParams { order_field?: string;//排序字段(默认id) id=订单ID updated_at=最后更新时间 pay_at=支付时间 } -/** - * Shopyy获取所有订单参数DTO - */ -export class ShopyyGetAllOrdersParams { - @ApiProperty({ description: '每页数量', example: 100, required: false }) - per_page?: number; - - @ApiProperty({ description: '支付时间范围开始', example: '2023-01-01T00:00:00Z', required: false }) - pay_at_min?: string; - - @ApiProperty({ description: '支付时间范围结束', example: '2023-01-01T23:59:59Z', required: false }) - pay_at_max?: string; - - @ApiProperty({ description: '排序字段', example: 'id', required: false }) - order_field?: string;//排序字段(默认id) id=订单ID updated_at=最后更新时间 pay_at=支付时间 -} - /** * 批量操作错误项 */ diff --git a/src/dto/shopyy.dto.ts b/src/dto/shopyy.dto.ts index 671711d..c25cc2f 100644 --- a/src/dto/shopyy.dto.ts +++ b/src/dto/shopyy.dto.ts @@ -967,8 +967,6 @@ export interface ShopyyOrder { }>; // 支付时间 pay_at?: number | null; - // 支付时间(备用) - date_paid?: number | string; // 系统支付ID sys_payment_id?: number;