Browse Source

feat(shop): 添加买家备注功能

- 在订单确认页面添加买家备注字段
- 在支付请求中包含买家备注信息
master
科技小王子 2 weeks ago
parent
commit
ffc73f45c2
  1. 3
      src/shop/orderConfirm/index.tsx
  2. 1
      src/utils/payment.ts

3
src/shop/orderConfirm/index.tsx

@ -76,7 +76,8 @@ const OrderConfirm = () => {
address.id, address.id,
{ {
comments: goods.name, comments: goods.name,
deliveryType: 0
deliveryType: 0,
buyerRemarks: '',
} }
); );

1
src/utils/payment.ts

@ -170,6 +170,7 @@ export function buildSingleGoodsOrder(
selfTakeMerchantId?: number; selfTakeMerchantId?: number;
skuId?: number; skuId?: number;
specInfo?: string; specInfo?: string;
buyerRemarks?: string;
} }
): OrderCreateRequest { ): OrderCreateRequest {
return { return {

Loading…
Cancel
Save