| 1234567891011121314151617181920212223242526272829303132 |
- import {request} from '../service/ajax.js'
- const newsUrl = 'api/shop/'
- // 获取置顶商家
- export const shopTop = (data) => request(newsUrl + 'top', 'post', { ...data },false)
- // 获取商家详情
- export const shopInfo = (data) => request(newsUrl + 'info', 'post', { ...data },false)
- // 获取可领优惠卷
- export const shopCoupon = (data) => request(newsUrl + 'coupon', 'post', { ...data },false)
- // 获取商家商品分类
- export const shopCategory = (data) => request(newsUrl + 'category', 'post', { ...data },false)
- // 获取商家商品列表
- export const shopGoods = (data) => request(newsUrl + 'goods', 'post', { ...data },false)
- // 获取商品规格
- export const shopGoodsSpec = (data) => request(newsUrl + 'goodsSpec', 'post', { ...data },false)
- // 下单是获取优惠卷
- export const shopOrderCoupon = (data) => request(newsUrl + 'orderCoupon', 'post', { ...data },false)
- // 获取评论列表
- export const shopComment = (data) => request(newsUrl + 'comment', 'post', { ...data },false)
- // 获取推荐店铺
- export const shopHome = (data) => request(newsUrl + 'home', 'post', { ...data },false)
- // 获取所有店铺用户今天吃啥
- export const shopAll = (data) => request(newsUrl + 'all', 'post', { ...data },false)
|