renovation.js
1.94 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
import request from '@/utils/request'
// 平台装修
// ******商品类别******
// 商品类别管理查询
export function commdityClassGetAll (data) {
return request({
url: '/classify/getAll',
method: 'post',
data
})
}
// 添加商品类别
export function commdityClassAdd (data) {
return request({
url: '/classify/save',
method: 'post',
data
})
}
// 编辑商品类别
export function commdityClassgetById (data) {
return request({
url: '/classify/getById',
method: 'post',
data
})
}
// 修改商品类别
export function commdityClassUpdate (data) {
return request({
url: '/classify/update',
method: 'post',
data
})
}
// 删除商品类别
export function commdityClassDelete (data) {
return request({
url: '/classify/delete',
method: 'post',
data
})
}
// 选择链接查询
export function getSelect (data) {
return request({
url: '/dict/getSelect',
method: 'post',
data
})
}
// ******自定义页面******
// 自定义页面查询
export function selectCanvasCustomList (data) {
return request({
url: '/canvas/selectCanvasCustomList',
method: 'post',
data
})
}
// 添加修改自定义页面
export function saveCanvasCustom (data) {
return request({
url: '/canvas/saveCanvasCustom',
method: 'post',
data
})
}
// 删除自定义页面
export function delCanvasCustom (data) {
return request({
url: '/canvas/delCanvasCustom',
method: 'post',
data
})
}
// 品牌
export function getBrandAll (data) {
return request({
url: '/brand/getAll',
method: 'post',
data
})
}
export function addBrand (data) {
return request({
url: '/brand/save',
method: 'post',
data
})
}
export function updateBrand (data) {
return request({
url: '/brand/update',
method: 'post',
data
})
}
export function deleteBrand (data) {
return request({
url: '/brand/delete',
method: 'post',
data
})
}