This commit is contained in:
2026-03-27 10:15:51 +08:00
parent 230bb76f63
commit 2c00299634
19 changed files with 1001 additions and 1172 deletions

View File

@ -158,35 +158,13 @@ export const createOrder = ({
// 创建购物车订单
export const createCartOrder = ({
type = "" ,
original_price = "",
actual_price = "",
reduction_amount = 0,
pay_amount = "",
pay_type = "",
address_id = "",
address = "",
name = "",
phone = "",
note = "",
items = []
product_pic= "",
}) => {
return request({
url: CREATE_CART_ORDER,
method: "post",
data: {
type,
original_price,
actual_price,
reduction_amount,
pay_amount,
pay_type,
address_id,
address,
name,
phone,
note,
items
product_pic
},
});
};