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