123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- //import { fetchPost, fetchGet, } from '../common/request.js'
- import request from '../common/request.js'
- var fetchGet=request.fetchGet
- var fetchPost=request.fetchPost
- export const getFeatureItemList = (params) => {
- console.log("getFeatureItemList")
- //console.log(request.fetchGet)
- return fetchGet('/home/getFeatureItemList', params)
- }
- export const bindShopId = (params) => {
- return fetchPost('/bind/bindShopId', params)
- }
- export const phoneLogin = (params) => {
- return fetchPost('/bind/phoneLogin', params)
- }
- export const initGet = (params) => {
- return fetchGet('/home/getHomeData', params)
- }
- export const initgetGroupItemList = (params) => {
- return fetchGet('/home/getGroupItemList', params)
- }
- export const searchList = (params) => {
- return fetchGet('/home/getShops', params)
- }
- export const choiceShop = (params) => {
- return fetchPost('/home/choiceShop', params)
- }
- export const receiveVoucher = (params) => {
- return fetchPost('/home/receiveVoucher', params)
- }
- export const getSnapUpItemList = (params) => {
- return fetchGet('/home/getSnapUpItemList', params)
- }
- export const getExperienceCardInformation = (params) => {
- return fetchGet('/home/getExperienceCardInformation', params)
- }
- export const getScoreListForPage = (params) => {
- return fetchGet('/home/getScoreListForPage', params)
- }
- export const isHaveExperienceCard = (params) => {
- return fetchGet('/home/isHaveExperienceCard', params)
- }
- export const followOrderManager = (params) => {
- return fetchPost('/home/followOrderManager', params)
- }
- export const getBeauticianData = (params) => {
- return fetchGet('/detail/getBeauticianData', params)
- }
- export const getVipCardById = (params) => {
- return fetchGet('/detail/getVipCardById', params)
- }
- export const getVipCardList = (params) => {
- return fetchGet('/home/getVipCardList', params)
- }
- export const getGroupItemSheetDetail = (params) => {
- return fetchGet('/detail/getGroupItemSheetDetail', params)
- }
- export const getSnapUpItemDetail = (params) => {
- return fetchGet('/detail/getSnapUpItemDetail', params)
- }
- export const getItemDetail = (params) => {
- return fetchGet('/detail/getItemDetail', params)
- }
- export const getBeauticianDetail = (params) => {
- return fetchGet('/detail/getBeauticianDetail', params)
- }
- export const pay = (params) => {
- return fetchPost('/pay/pay', params)
- }
- export const getMyVoucherList = (params) => {
- return fetchGet('/detail/getMyVoucherList', params)
- }
- export const getCustomerRedMoneyList = (params) => {
- return fetchGet('/detail/getCustomerRedMoneyList', params)
- }
- export const getOrderCarList = (params) => {
- return fetchGet('/detail/getOrderCarList', params)
- }
- // 新增车辆-石延杰
- export const addCar = (params) => {
- return fetchPost('/detail/addCar', params)
- }
- export const getCheckOutForItem = (params) => {
- return fetchGet('/detail/getCheckOutForItem', params)
- }
- export const getOrderManagerList = (params) => {
- return fetchGet('/detail/getOrderManagerList', params)
- }
- export const getCheckOutForGroupItem = (params) => {
- return fetchGet('/detail/getCheckOutForGroupItem', params)
- }
- export const getCheckOutItemForExperienceCard = (params) => {
- return fetchGet('/detail/getCheckOutItemForExperienceCard', params)
- }
- export const getExperienceCardDetail = (params) => {
- return fetchGet('/detail/getExperienceCardDetail', params)
- }
- export const queryExperienceCardDetail = (params) => {
- return fetchGet('/detail/queryExperienceCardDetail', params)
- }
- export const getCustomerVipCardList = (params) => {
- return fetchGet('/detail/getCustomerVipCardList', params)
- }
- export const getCheckOutItemForSnapUpItem = (params) => {
- return fetchGet('/detail/getCheckOutItemForSnapUpItem', params)
- }
- export const sendSms = (params) => {
- return fetchGet('/bind/sendSms', params)
- }
- export const ownerSendSms = (params) => {
- return fetchGet('/bindOwner/sendSms', params)
- }
- // 查询已购项目列表-石延杰
- export const getHavePurchaseItemList = (params) => {
- return fetchGet('/detail/getHavePurchaseItemList', params)
- }
- // 查询已店铺信息-石延杰
- export const getMarketingShopInfo = (params) => {
- return fetchGet('/my/marketingShopInfo', params)
- }
- // 退出登录-石延杰
- export const returnLogin = (params) => {
- return fetchGet('/carOwnerHome/returnLogin', params)
- }
- // 预约
- export const addOrder = (params) => {
- return fetchPost('/detail/addOrder', params)
- }
- // 评价
- export const addScore = (params) => {
- return fetchPost('/detail/addScore', params)
- }
- // 评价详情
- export const getScore = (params) => {
- return fetchGet('/detail/getScore', params)
- }
- // 查询预约时间列表-石延杰
- export const getOrderTimes = (params) => {
- return fetchGet('/detail/getOrderTimes', params)
- }
- // 图片上传-石延杰
- /* export const upload = (params) => {
- return upLoadPost('/upload', params)
- } */
- //
- // 领取红包-石延杰
- export const receiveRedEnvelopes = (params) => {
- return fetchPost('/home/receiveRedEnvelopes', params)
- }
- //
- export const getVoucherDetail = (params) => {
- return fetchGet('/detail/getVoucherDetail', params)
- }
- //
- export const setRedPageNum = (params) => {
- return fetchPost('/detail/setRedPageNum', params)
- }
- //
- export const redEnvelopesDetails = (params) => {
- return fetchGet('/home/redEnvelopesDetails', params)
- }
- export const getGroupItemSheetInfo = (params) => {
- return fetchGet('/detail/getGroupItemSheetInfo', params)
- }
- // 管
- export const getGroupItemSheet = (params) => {
- return fetchGet('/pay/getGroupItemSheet', params)
- }
- export const getMessageTypeList = (params) => {
- return fetchGet('/my/getMessageTypeList', params)
- }
- export const getMessageDetailList = (params) => {
- return fetchGet('/my/getMessageDetailList', params)
- }
|