修复bug

This commit is contained in:
2026-03-09 09:05:21 +08:00
parent 9f2d2f8764
commit 4da4d165cb
17 changed files with 467 additions and 181 deletions
+17 -1
View File
@@ -67,7 +67,7 @@ export async function appMerchantOrderCalculatePriceCartBatchPost({
body,
options,
}: {
body: API.CalculatePriceCartBatchBo;
body: CalculatePriceCartBatchBo;
options?: CustomRequestOptions;
}) {
return request<API.RCalculatePriceCartVo>(
@@ -115,6 +115,14 @@ export interface CalculatePriceCartBatchBo {
* 小费比例
*/
tipDiscount?: number;
/**
* 商户优惠券映射 { merchantId: couponId }
*/
merchantCouponMap?: Record<string, number>;
/**
* 商户小费映射 { merchantId: tipAmount } (小费金额,单位:美元)
*/
merchantTipMap?: Record<string, number>;
[property: string]: any;
}
@@ -270,6 +278,14 @@ export interface CreateOrderCartBatchBo {
* 是否需要餐具(1-是 2-否)
*/
needTableware?: number;
/**
* 商户优惠券映射 { merchantId: couponId }
*/
merchantCouponMap?: Record<string, number>;
/**
* 商户小费映射 { merchantId: tipAmount } (小费金额,单位:美元)
*/
merchantTipMap?: Record<string, number>;
[property: string]: any;
}
+1
View File
@@ -376,6 +376,7 @@
/** 排序的方向desc或者asc */
'isAsc'?: string;
'recipeCategoryId'?:any;
'keyword'?:any;
}