21 lines
511 B
JavaScript
21 lines
511 B
JavaScript
|
import request from '@/utils/request';
|
||
|
|
||
|
//添加购物车数量
|
||
|
export const cartCreateApi = (data)=>{
|
||
|
return request.post('/order/cart/create', data);
|
||
|
}
|
||
|
|
||
|
//购物车-调整数量
|
||
|
export const cartChangeApi = (data)=>{
|
||
|
return request.post('/order/cart/change', data);
|
||
|
}
|
||
|
|
||
|
//购物车-清空
|
||
|
export const cartDeleteApi = (data)=>{
|
||
|
return request.post('/order/cart/delete', data);
|
||
|
}
|
||
|
|
||
|
//购物车-零售列表
|
||
|
export const cartListApi = (data)=>{
|
||
|
return request.get('/order/RetailOrder/checkOrder', data);
|
||
|
}
|