绿满眶商城微信小程序-uniapp
xiangpei
2025-05-09 c3e6cdbb29580e77444541c7953aca33581a4267
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/**
 * 店铺相关API
 */
 
import {http, Method} from '@/utils/request.js';
 
 
 
 
/**
 * 获取店铺列表
 * @param params
 */
export function getStoreList(params) {
  return http.request({
    url: '/store/store',
    method: Method.GET,
    params,
  });
}
 
/**
 * 获取店铺基本信息
 * @param storeId
 */
 export function getStoreBaseInfo(storeId) {
  return http.request({
    url: `/store/store/get/detail/${storeId}`,
    method: Method.GET,
    loading: false,
  });
}
 
/**
 * 获取店铺分类
 * @param id
 */
 export function getStoreCategory(id) {
  return http.request({
    url: `/store/store/label/get/${id}`,
    method: Method.GET,
  });
}
 
 
/**
 * 营业执照
 * @param id
 */
 export function getLicencePhoto(id) {
  return http.request({
    url: `/store/store/get/licencePhoto/${id}`,
    method: Method.GET,
  });
}
 
 
/**
 * 获取自提点信息
 * @param id
 */
 export function getStoreAddress(storeId,params) {
  return http.request({
    url: `/store/address/page/${storeId}`,
    method: Method.GET,
    params
  });
}