1
This commit is contained in:
@ -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
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user