Blame view

pc-master/src/api/shop.js 787 Bytes
3f535f30   杨鑫   '初始'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
  import request from '@/util/server.js'
  
  // 搜索店铺
  export function searchShop (params) {
    return request({
      url: '/shop/getShops',
      method: 'get',
      params
    })
  }
  
  // 擦寻店铺首页
  export function getShopIndex (params) {
    return request({
      url: '/shop/getIndex',
      method: 'get',
      params
    })
  }
  
  // 查询店铺分类
  export function getShopClassify (params) {
    return request({
      url: '/shop/getShopClassify',
      method: 'get',
      params
    })
  }
  
  // 查询店铺商品
  export function getShopProducts (params) {
    return request({
      url: '/shop/getShopProducts',
      method: 'get',
      params
    })
  }
  
  // 查询店铺banner
  export function getShopBanner (params) {
    return request({
      url: '/shop/getShopBanner',
      method: 'get',
      params
    })
  }