新增拼团/套餐分享功能

This commit is contained in:
gyq
2025-12-25 15:38:00 +08:00
parent 448effd296
commit fbe170b254
18 changed files with 3789 additions and 1532 deletions

View File

@@ -122,6 +122,17 @@ export function checkout(data) {
})
}
/**
* 拼团商品:拼团商品详情
* @param {Object} data
*/
export function wareDetail(data) {
return request({
url: `${ORDER_URL}/admin/ware/ware/detail`,
method: "get",
data
})
}
/**
* 套餐推广:添加套餐
@@ -274,4 +285,19 @@ export function packageCheckout(data) {
method: 'post',
data
});
}
/**
* 套餐推广:获取套餐详情
* @param {*} data
* @returns
*/
export function packageDetail(data) {
return request({
url: `${Market_BaseUrl}/admin/package/detail/${data.id}`,
method: 'GET',
data: {
shopId: data.shopId
}
});
}