From 3fe42c22e657d3409bde86c762d35b9c4044652b Mon Sep 17 00:00:00 2001 From: zhuotianyuan Date: Wed, 21 Jan 2026 15:50:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=89=A9=E6=B5=81):=20=E6=B7=BB=E5=8A=A0f?= =?UTF-8?q?reightwaves=E7=89=A9=E6=B5=81=E5=B9=B3=E5=8F=B0=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 实现freightwaves物流平台的集成,包括: 1. 新增freightwaves服务类,提供订单创建、查询等功能 2. 添加定时任务同步运单状态 3. 扩展物流DTO以支持多平台选择 4. 修改物流服务支持freightwaves平台订单处理 --- src/dto/logistics.dto.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dto/logistics.dto.ts b/src/dto/logistics.dto.ts index 48841db..9d29d2d 100644 --- a/src/dto/logistics.dto.ts +++ b/src/dto/logistics.dto.ts @@ -19,16 +19,15 @@ export class ShipmentBookDTO { @ApiProperty({ type: 'number', isArray: true }) @Rule(RuleType.array().default([])) orderIds?: number[]; - + @ApiProperty() @Rule(RuleType.string()) shipmentPlatform: string; @ApiProperty() - @Rule(RuleType.string()) + @Rule(RuleType.any()) courierCompany: string; } - export class ShipmentFeeBookDTO { @ApiProperty()