brandImage.js
1.5 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
/**
* Created by ty on 2016/6/20.
* plus/Star列表
*/
module.exports={
namespace:"brandImage",
apis:{
getList:{
title: "品牌图片列表数据",
url: '/BrandImageRest/brandImageList',
params: [
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'},
{name: 'brandId', type: 'Number'},
{name: 'channelId', type: 'String'}
]
},
delete:{
title:"删除图片",
url:'/BrandImageRest/deleteById',
params: [
{name: 'id', type: 'Number'}
]
},
insert:{
title:"新增品牌图片",
url:'/BrandImageRest/insert',
params:[
{name: 'brandId', type: 'Number'},
{name: 'channelId', type: 'String'},
{name: 'src', type: 'String'}
]
},
update:{
title:"修改品牌图片",
url:'/BrandImageRest/update',
params: [
{name: 'id', type: 'Number'},
{name: 'brandId', type: 'Number'},
{name: 'channelId', type: 'String'},
{name: 'src', type: 'String'}
]
},
detail:{
title:"品牌图片详情",
url:'/BrandImageRest/getInfoById',
params: [
{name: 'id', type: 'Number'}
]
}
}
}