From ffc73f45c2523ae934e8b2e2465a80f88b3ceb60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=BF=A0=E6=9E=97?= <170083662@qq.com> Date: Mon, 11 Aug 2025 00:55:36 +0800 Subject: [PATCH] =?UTF-8?q?feat(shop):=20=E6=B7=BB=E5=8A=A0=E4=B9=B0?= =?UTF-8?q?=E5=AE=B6=E5=A4=87=E6=B3=A8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在订单确认页面添加买家备注字段 - 在支付请求中包含买家备注信息 --- src/shop/orderConfirm/index.tsx | 3 ++- src/utils/payment.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shop/orderConfirm/index.tsx b/src/shop/orderConfirm/index.tsx index b50b83d..cc66fed 100644 --- a/src/shop/orderConfirm/index.tsx +++ b/src/shop/orderConfirm/index.tsx @@ -76,7 +76,8 @@ const OrderConfirm = () => { address.id, { comments: goods.name, - deliveryType: 0 + deliveryType: 0, + buyerRemarks: '', } ); diff --git a/src/utils/payment.ts b/src/utils/payment.ts index 44a7be8..5d1a631 100644 --- a/src/utils/payment.ts +++ b/src/utils/payment.ts @@ -170,6 +170,7 @@ export function buildSingleGoodsOrder( selfTakeMerchantId?: number; skuId?: number; specInfo?: string; + buyerRemarks?: string; } ): OrderCreateRequest { return {