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.
58 lines
906 B
58 lines
906 B
import request from '@/utils/request'
|
|
|
|
export default {
|
|
|
|
// 礼包设置
|
|
|
|
// 获取礼包列表
|
|
giftBagListPage: function(data) {
|
|
return request({
|
|
url: '/lpkgiftbag/giftBagListPage',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
// 礼包选择商品时,返回的商品列表
|
|
getGoods: function(data) {
|
|
return request({
|
|
url: '/lpkgoods/getGoods',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
|
|
// 新增、保存礼包
|
|
saveGiftBag: function(data) {
|
|
return request({
|
|
url: '/lpkgiftbag/saveGiftBag',
|
|
method: 'post',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
// 初始化礼包
|
|
giftBagInit: function(data) {
|
|
return request({
|
|
url: '/lpkgiftbag/giftBagInit/'+data,
|
|
method: 'get'
|
|
});
|
|
},
|
|
|
|
|
|
|
|
|
|
// 提货卡设置
|
|
|
|
// 获取提货卡页面 礼包列表
|
|
giftBagList: function(data) {
|
|
return request({
|
|
url: '/lpkgiftbag/giftBagList',
|
|
method: 'get',
|
|
data: data
|
|
});
|
|
},
|
|
|
|
}
|
|
|
|
|