xiangpei
2025-05-13 4c4995771ce83925a2d69dedc11c4404d9b77875
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import request, {
  Method
} from '@/plugins/request.js'
 
// 店铺分页列表
export function shopList (params) {
  return request({
    url: '/buyer/store/store',
    needToken: true,
    method: Method.GET,
    params
  })
}
 
// 申请店铺第一步-填写企业信息
export function applyFirst (params) {
  return request({
    url: '/buyer/store/store/apply/first',
    needToken: true,
    method: Method.PUT,
    params
  })
}
 
// 申请店铺第一步-填写企业信息
export function applySecond (params) {
  return request({
    url: '/buyer/store/store/apply/second',
    needToken: true,
    method: Method.PUT,
    params
  })
}
 
// 申请店铺第一步-填写企业信息
export function applyThird (params) {
  return request({
    url: '/buyer/store/store/apply/third',
    needToken: true,
    method: Method.PUT,
    params
  })
}
 
// 店铺详情
export function getDetailById (id) {
  return request({
    url: `/buyer/store/store/get/detail/${id}`,
    needToken: true,
    method: Method.GET
  })
}
// 店铺分类
export function getCateById (id) {
  return request({
    url: `/buyer/store/store/label/get/${id}`,
    needToken: true,
    method: Method.GET
  })
}
//  店铺入驻协议
export function agreement () {
  return request({
    url: `/buyer/other/article/type/STORE_REGISTER`,
    needToken: true,
    method: Method.GET
  })
}
 
//  获取当前登录会员的店铺信息
export function applyStatus () {
  return request({
    url: `/buyer/store/store/apply`,
    needToken: true,
    method: Method.GET
  })
}
 
/**
 * 获取自提点信息
 * @param storeId
 */
 export function getStoreAddress(storeId,params) {
  return request({
    url: `/buyer/store/address/page/${storeId}`,
    method: Method.GET,
    params
  });
}