common_select.js
3.63 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
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: '/goods/query/supplier',
method: 'POST',
url: '/supplier/supplier/queryAllSupplier',
params: [{
name: 'idName',
type: 'String'
}]
}, {
//查询一级类目列表接口
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"}
]
}
]