Commit 5c0af9dc by 杨明

fixed

1 parent 9121d69f
......@@ -161,4 +161,90 @@ const getGroupGift = params => {
sign: true
})
}
export default { getFollowerStaffListApi, getListApi, giftExportApi, deleteGiftApi, getGiftInfoApi, getReceivedGiftDetail, getReceivedGiftInfoApi, exportGiftInfoApi, getDirectionalGiftListApi, insertGiftApi, templateModal, getghDirectionalGiftListApi, toVoidGift, getQrcode, getGroupGift }
//新建或修改营销礼包预设方案(超级营销)
const packageAdd = params => {
params.method = 'scrm.api.shopmall.activity.coupon.package.add.or.update'
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true
})
}
//获取默认营销礼包预设方案(超级营销)
const packageList = params => {
params.method = 'scrm.api.shopmall.activity.coupon.package.list'
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true
})
}
//查询某个营销礼包预设方案详情(超级营销)
const packageDetail = params => {
params.method = 'scrm.api.shopmall.activity.coupon.package.detail'
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true
})
}
//查询某个营销礼包预设方案详情(超级营销)
const packageDefault = params => {
params.method = 'scrm.api.shopmall.activity.coupon.package.default'
return http({
url: 'rop-scrm-shopmall/router',
method: 'POST',
data: params,
sign: true
})
}
const getEquityListApi = params => {
params.method = 'scrm.api.coupon.equity.list.merchant'
return http({
url: 'rop-scrm-coupon/router',
method: 'GET',
data: params,
sign: true
})
}
const brandList = params => {
params.method = 'scrm.api.equity.goods.brand.list.all'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
const couponTemplate = params => {
params.method = 'scrm.api.coupon.template.page'
return http({
url: 'rop-scrm-coupon/router',
method: 'POST',
data: params,
sign: true
})
}
const couponTemplateDetails = params => {
params.method = 'scrm.api.coupon.template.details.page'
return http({
url: 'rop-scrm-coupon/router',
method: 'POST',
data: params,
sign: true
})
}
const equityMerchant = params => {
params.method = 'scrm.api.equity.service.merchant.config.get'
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
sign: true
})
}
export default { packageList, packageDetail, packageDefault, getEquityListApi, brandList, packageAdd, equityMerchant, couponTemplateDetails, couponTemplate, getFollowerStaffListApi, getListApi, giftExportApi, deleteGiftApi, getGiftInfoApi, getReceivedGiftDetail, getReceivedGiftInfoApi, exportGiftInfoApi, getDirectionalGiftListApi, insertGiftApi, templateModal, getghDirectionalGiftListApi, toVoidGift, getQrcode, getGroupGift }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!