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
import request from '@/utils/request';
// 获取主体信息
export function getMainInf(query) {
return request({
url: '/local/getOrganization',
method: 'get',
params: query
});
}
// 新建主体信息
export function addMain(data) {
return request({
url: '/local/organization',
method: 'post',
data: data
})
}
// 获取品牌信息
export function getBrandsInf(query) {
return request({
url: '/local/shopbrand',
method: 'get',
params: query
});
}
// 新建品牌信息
export function addBrands(data) {
return request({
url: '/local/brands',
method: 'post',
data: data
});
}
// 修改品牌信息
export function upBrands(data) {
return request({
url: '/local/upbrands',
method: 'post',
data: data
});
}
// 获取店铺信息
export function getShopInf(query) {
return request({
url: '/local/getShopInfo',
method: 'get',
params: query
});
}
// 提交店铺信息
export function addShopInf(data) {
return request({
url: '/local/addShopInfo',
method: 'post',
data: data
});
}
// 上传图片
export function upLoadImg (data) {
return request({
url: '/system/goods/uploadImg',
method: 'post',
data: data
});
}
// 获取商品类目
export function getGoodsType(query) {
return request({
url: '/local/cate',
method: 'get',
params: query
});
}