多租户商城-客户PC端
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

3 years ago
  1. import request from '@/util/server.js'
  2. // 平台秒杀专区
  3. export function getSeckill (data) {
  4. return request({
  5. url: '/platform-seckill/queryProductListBySession',
  6. method: 'post',
  7. data
  8. })
  9. }
  10. // 查询秒杀专区列表
  11. export function getSeckillIndex (params) {
  12. return request({
  13. url: '/seckill/getIndex',
  14. method: 'get',
  15. params
  16. })
  17. }
  18. // 查询秒杀时间段
  19. export function getSeckillTime () {
  20. return request({
  21. url: '/platform-seckill/querySession',
  22. method: 'get'
  23. })
  24. }