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.
27 lines
516 B
27 lines
516 B
import request from '@/util/server.js'
|
|
|
|
// 平台秒杀专区
|
|
export function getSeckill (data) {
|
|
return request({
|
|
url: '/platform-seckill/queryProductListBySession',
|
|
method: 'post',
|
|
data
|
|
})
|
|
}
|
|
|
|
// 查询秒杀专区列表
|
|
export function getSeckillIndex (params) {
|
|
return request({
|
|
url: '/seckill/getIndex',
|
|
method: 'get',
|
|
params
|
|
})
|
|
}
|
|
|
|
// 查询秒杀时间段
|
|
export function getSeckillTime () {
|
|
return request({
|
|
url: '/platform-seckill/querySession',
|
|
method: 'get'
|
|
})
|
|
}
|