common_select.js
5.62 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
exports.domain = require('../config/common.js').domain;
exports.res = [
//原 supplier
{
route: '/supplier/supplier/getSupplierListByIdName',
method: 'POST',
url: '/supplier/supplier/getSupplierListByIdName',
params: [{
name: "idName",
type: "String",
def: 1
}]
}, {
route: '/brand/getBrandNames',
method: 'POST',
url: '/erpproduct/brands/getBrandNames',
params: [{
name: 'idName',
type: 'String'
}, {
name: 'status',
type: 'Number'
}]
}, {
// 根据身份选择管理员
route: '/supplier/storeadmin/managerName',
method: 'POST',
url: "/ShopsAdminRest/getUsersByIdentity",
src: '/store/adminedit',
params: [{
name: "identity",
type: "Number"
}, {
name: "shopsId",
type: "Number"
}]
}, { //添加品类关联尺码属性接口【验证通过】
route: '/erpproduct/sortattribute/ajax/automatic',
method: 'POST',
url: '/product/querySizeAttributesByName',
params: [{
name: "idName",
type: "String"
}, {
name: "sortId",
type: "Number"
}
]
}, {
route: '/erpproduct/sortsize/ajax/querySizeListBySortId4Html',
method: 'POST',
url: '/product/querySizeListBySortId4Html',
params: [{
name: "idName",
type: "String"
}, {
name: "sortId",
type: "Number"
}]
}, { //尺码模糊查询【验证通过】
route: '/erpproduct/sortsize/ajax/automatic',
method: 'POST',
url: '/product/querySizeByNameForSelect',
params: [{
name: "idName",
type: "String"
}, {
name: "sortId",
type: "Number"
}]
}, {
//查询品牌列表接口
route: '/goods/query/brand',
method: 'POST',
url: '/erpproduct/brands/queryAllBrands',
params: [{
name: 'idName',
type: 'String'
}]
}, {
//查询店铺下关联品牌
route: '/query/brandByshopId',
method: 'POST',
url: '/MerchantShopsRest/queryMerchantBrandByShopsId'
}, {
//查询供应商列表接口
route: '/goods/query/supplier',
method: 'POST',
url: '/supplier/supplier/queryAllSupplier',
params: [{
name: 'idName',
type: 'String'
}]
}, {
//查询店铺下关联供应商
route: '/query/supplierByshopId',
method: 'POST',
url: '/MerchantShopsRest/queryMerchantSupplierByShopsId'
}, {
//查询一级类目列表接口
route: '/goods/query/maxSort',
method: 'POST',
url: '/product/queryMaxSortByName',
params: [{
name: 'idName',
type: 'String'
}]
}, {
//查询店铺列表接口
route: '/goods/query/shop',
method: 'POST',
url: '/ShopsRest/queryAllShops',
params: [{
name: 'idName',
type: 'String'
}]
}, {
//查询通过审核店铺列表接口
route: '/goods/query/shopPass',
method: 'POST',
url: '/ShopsRest/selectCheckPassShopsByName',
params: [{
name: 'idName',
type: 'String'
}]
}, { //根据品牌查询店铺
route: '/goods/query/queryShopsByBrandId',
method: 'POST',
url: '/ShopsRest/queryShopsByBrandId',
params: [{
name: 'idName',
type: 'String'
}, {
name: 'brandId',
type: 'Number'
}]
}, { //模糊查询
route: '/limit/xiangouID/selectActivityListForSelect',
method: 'POST',
url: '/DrawlineActivityRest/selectActivityListForSelect',
params: [{
name: "idName",
type: 'String'
}]
}, {
// 店铺列表
route: '/ShopsRest/getShopsByName',
method: 'POST',
url: "/ShopsRest/selectCheckPassShopsByName",
params: [{
name: "idName",
type: "String"
}]
}, {
//获取JIT店铺
route: '/goods/query/getJitSupplierByBrandld',
method: 'POST',
url: '/AgreementRest/getJitSupplierByBrandId',
params: [{
name: "brandId",
type: "Number"
}]
}, {
//查询品牌款型系列列表
route: '/goods/brandSeries/queryAll4Select',
method: 'POST',
url: '/brandSeries/queryAll4Select',
params: [{
name: 'type',
type: 'number'
}, {
name: 'status',
type: 'number'
}, {
name: 'shopsId',
type: 'number'
}, {
name: 'brandId',
type: 'number'
}]
}, {
//类目tree
route: '/product/class/queryAllProductSortList',
method: 'POST',
url: '/product/class/queryAllProductSortList'
}, {
//商品管理【ajax查询所有品类】
route: '/product/class/queryAllProductSortList',
method: 'POST',
url: '/product/queryAllMaxSortList',
}, {
//商品管理【根据ID ajax查询子品类列表】
route: '/product/class/queryProductSortList',
method: 'POST',
url: '/product/queryProductSortList',
params: [{
name: 'param',
type: 'Number'
}]
}
]