feat(mini-user): logistics sign photos, dial, ETA and courier callbacks (v3.4.13)
Extend Courier adapter for XFX sign photos and route callbacks; mini-user logistics UI with timeline, phone dial, and estimated arrival. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -70,6 +70,30 @@ export interface DeliveryDto {
|
||||
deliveredAt?: string;
|
||||
}
|
||||
|
||||
/** 物流路由节点(C 端 track API) */
|
||||
export interface OrderTrackNodeDto {
|
||||
trackInfo: string;
|
||||
createTime: string;
|
||||
statusName?: string;
|
||||
}
|
||||
|
||||
/** 小飞侠 cmd=100301 预估送达 */
|
||||
export interface OrderTrackEstimatedArrivalDto {
|
||||
arriveTime: string;
|
||||
siteName?: string;
|
||||
}
|
||||
|
||||
/** GET /trade/orders/:id/track 响应 */
|
||||
export interface OrderTrackDto {
|
||||
nodes: OrderTrackNodeDto[];
|
||||
signPhotoUrls: string[];
|
||||
estimatedArrival?: OrderTrackEstimatedArrivalDto | null;
|
||||
manualQueryUrl?: string | null;
|
||||
provider?: string;
|
||||
trackingNo?: string | null;
|
||||
logisticsCompany?: string | null;
|
||||
}
|
||||
|
||||
/** 大单拦截原因:≥10 箱不自动推小飞侠 */
|
||||
export const FULFILLMENT_HOLD_REASON_LABELS: Record<string, string> = {
|
||||
LARGE_ORDER_GE_10_BOXES: '大单≥10箱,待总部确认推单/自配送',
|
||||
|
||||
Reference in New Issue
Block a user