commit message

This commit is contained in:
Chopper
2021-05-13 10:56:04 +08:00
commit ec3e958037
728 changed files with 132685 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
import request, {
Method
} from '@/plugins/request.js';
/**
* 获取当天限时抢购信息
*/
export function seckillByDay (params) {
return request({
url: '/buyer/promotion/seckill',
method: Method.GET,
params
});
}
/**
* 获取某个时刻限时抢购信息
*/
export function seckillByTimeline (timeline) {
return request({
url: `/buyer/promotion/seckill/${timeline}`,
method: Method.GET
});
}
/**
* 获取积分商品分类列表
*/
export function pointGoodsCategory (params) {
return request({
url: `/buyer/promotion/pointsGoods/category`,
method: Method.GET,
needToken: true,
params
});
}
/**
* 获取积分商品列表
*/
export function pointGoods (params) {
return request({
url: `/buyer/promotion/pointsGoods`,
method: Method.GET,
needToken: true,
params
});
}