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.

89 lines
1.6 KiB

10 months ago
import {ItemObject} from "~/types/global";
/**
*
*
*/
export const getBottomNavigationApi = () => {
return $request.get({ url: 'front/index/get/bottom/navigation' })
}
/**
*
*
*/
export const getIndexData = () => {
return $request.get({ url: 'front/index/info' })
}
/**
* -
*
*/
export const indexMerchantListApi = (recomdnum:number) => {
return $request.get({ url: `front/index/merchant/list/${recomdnum}` })
}
/**
*
*
*/
export const pcHomeConfigApi = () => {
return $request.get({ url: `front/pc/home/get/config` })
}
/**
*
*
*/
export const pcHomeRecommendedApi = () => {
return $request.get({ url: `front/pc/home/get/recommended` })
}
/**
*
*
*/
export const pcHomeSeckillApi = () => {
return $request.get({ url: `front/index/seckill/info` })
}
/**
* banner
*
*/
export const pcHomeBannerApi = () => {
return $request.get({ url: `front/pc/home/get/banner` })
}
/**
*
*
*/
export const articleHotListApi = () => {
return $request.get({ url: `front/article/hot/list` })
}
/**
*
*
*/
export const indexDomainApi = () => {
return $request.get({ url: `front/index/get/domain` })
}
/**
*
*
*/
export const wechatQrcodeApi = (params:ItemObject) => {
return $request.post({ url: `front/qrcode/get/wechat`,params })
}
/**
*
*
*/
export const indexCustomerServiceApi = () => {
return $request.get({ url: `front/index/get/customer/service` })
}