shopAdministrator.js
1.69 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
module.exports={
namespace:"shopAdministrator",
apis:{
getShopsAdminList:{
title:"店铺管理员列表",
url:"/ShopsAdminRest/getShopsAdminList",
params:[
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'},
{name: 'shopsId', type: 'Number'},
{name: 'adminPid', type: 'Number'}
]
},
delAdminRelation:{
title:"删除店铺管理员",
url:"/ShopsAdminRest/delAdminRelation",
params:[
{name:"id",type:"Number"}
]
},
addAdminRelation:{
title:"添加店铺管理员",
url:"/ShopsAdminRest/addAdminRelation",
params:[
{name:"shopsId",type:"Number"},
{name:"adminPid",type:"Number"},
{name:"identity",type:"Number"}
]
},
updateAdminRalation:{
title:"保存修改店铺管理员",
url:"/ShopsAdminRest/updateAdminRalation",
params:[
{name:"id",type:"Number"},
{name:"shopsId",type:"Number"},
{name:"adminPid",type:"Number"},
{name:"identity",type:"Number"}
]
},
selectSupplierByBrandId:{
title:"根据品牌选择供应商",
url:"/supplier/supplier/selectSupplierByBrandId",
params:[
{name:"brandId",type:"Number"}
]
},
getAllShopAdminProfile:{
title: "获取所有的店铺管理员信息",
url: "/ShopsAdminRest/getAllShopAdminProfile"
}
}
}