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.
32 lines
597 B
32 lines
597 B
|
|
import http from '../utils/http/index.js'
|
|
// 获取购物车列表
|
|
export function getShoppingCarList(data) {
|
|
return http.get(
|
|
{
|
|
url: '/base-paper-trading/get/shopping-car-list',
|
|
data
|
|
},
|
|
{
|
|
hideLoading: true
|
|
}
|
|
)
|
|
}
|
|
// 移除购物车
|
|
export function removeShoppingCar(data) {
|
|
return http.post(
|
|
{
|
|
url: '/base-paper-trading/delete/shopping-car',
|
|
data
|
|
}
|
|
)
|
|
}
|
|
// 购物车结算
|
|
export function closePaperReserve(data) {
|
|
return http.post(
|
|
{
|
|
url: '/base-paper-trading/shopping/trolley/buyer/paper/reserve',
|
|
data
|
|
}
|
|
)
|
|
}
|