zksu
/
API
forked from yoone/API
1
0
Fork 0

refactor(dto): 移除重复的ShopyyGetAllOrdersParams类和冗余字段

删除api.dto.ts中重复定义的ShopyyGetAllOrdersParams类
移除shopyy.dto.ts中冗余的date_paid字段
This commit is contained in:
zhuotianyuan 2026-01-22 17:17:46 +08:00
parent 66a70f6209
commit 926e531d4f
2 changed files with 0 additions and 19 deletions

View File

@ -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=支付时间
}
/**
*
*/

View File

@ -967,8 +967,6 @@ export interface ShopyyOrder {
}>;
// 支付时间
pay_at?: number | null;
// 支付时间(备用)
date_paid?: number | string;
// 系统支付ID
sys_payment_id?: number;