普兆健康管家前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
693 B

// 购物车相关接口
const api = {
// 购物车-列表查询
getCartList: {
url: '/cart/list',
method: 'GET',
auth: true,
showLoading : true,
},
// 购物车-添加
addCart: {
url: '/cart/add',
method: 'POST',
auth: true,
limit : 500,
showLoading : true,
},
// 购物车-批量添加
addCartBatch: {
url: '/cart/addList',
method: 'POST',
auth: true,
showLoading : true,
},
// 购物车-批量删除
deleteCartBatch: {
url: '/cart/deleteBatch',
method: 'DELETE',
auth: true,
showLoading: true,
},
// 购物车-编辑购物车
editCart: {
url: '/cart/edit',
method: 'PUT',
auth: true,
showLoading : true,
},
}
export default api