21 lines
520 B
JavaScript
21 lines
520 B
JavaScript
import request from '@/sheep/request';
|
|
|
|
export default {
|
|
// 获得优惠劵模板列表
|
|
getCouponTemplateListByIds: (ids) => {
|
|
return request({
|
|
url: '/app-api/promotion/coupon-template/list-by-ids',
|
|
method: 'GET',
|
|
params: { ids },
|
|
});
|
|
},
|
|
// 获得优惠劵模版列表
|
|
getCouponTemplateList: (spuId, productScope, count) => {
|
|
return request({
|
|
url: '/app-api/promotion/coupon-template/list',
|
|
method: 'GET',
|
|
params: { spuId, productScope, count },
|
|
});
|
|
},
|
|
};
|