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.
|
|
|
/*
|
|
|
|
* @Author: ch
|
|
|
|
* @Date: 2022-04-12 13:56:24
|
|
|
|
* @LastEditors: ch
|
|
|
|
* @LastEditTime: 2022-04-14 15:19:22
|
|
|
|
* @Description: file content
|
|
|
|
*/
|
|
|
|
import {ToAsyncAwait, MsbRequest} from '@/common/utils';
|
|
|
|
|
|
|
|
const BASE_URL = '/mall/marketing';
|
|
|
|
|
|
|
|
export const ApiGetHomeSeckill = () =>
|
|
|
|
ToAsyncAwait(MsbRequest.get(`${BASE_URL}/app/activity/home`));
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 获取当天秒杀时段
|
|
|
|
*/
|
|
|
|
export const ApiGetSeckillTimes = () =>
|
|
|
|
ToAsyncAwait(MsbRequest.get(`${BASE_URL}/app/activity/time`));
|
|
|
|
/**
|
|
|
|
* 获取当天秒杀时段
|
|
|
|
*/
|
|
|
|
export const ApiGetSeckillGoods = (params) =>
|
|
|
|
ToAsyncAwait(MsbRequest.get(`${BASE_URL}/app/activity/product`, params));
|
|
|
|
|