forked from yoone/API
refactor(dto): 移除重复的ShopyyGetAllOrdersParams类和冗余字段
删除api.dto.ts中重复定义的ShopyyGetAllOrdersParams类 移除shopyy.dto.ts中冗余的date_paid字段
This commit is contained in:
parent
66a70f6209
commit
926e531d4f
|
|
@ -76,23 +76,6 @@ export class ShopyyGetAllOrdersParams {
|
||||||
order_field?: string;//排序字段(默认id) id=订单ID updated_at=最后更新时间 pay_at=支付时间
|
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=支付时间
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量操作错误项
|
* 批量操作错误项
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -967,8 +967,6 @@ export interface ShopyyOrder {
|
||||||
}>;
|
}>;
|
||||||
// 支付时间
|
// 支付时间
|
||||||
pay_at?: number | null;
|
pay_at?: number | null;
|
||||||
// 支付时间(备用)
|
|
||||||
date_paid?: number | string;
|
|
||||||
// 系统支付ID
|
// 系统支付ID
|
||||||
sys_payment_id?: number;
|
sys_payment_id?: number;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue