Blame view

pc-master/src/api/Activity/ActivitySeckill.js 516 Bytes
3f535f30   杨鑫   '初始'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  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'
    })
  }