brandConcern.js
1.64 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
/**
* Created by ty on 2016/6/20.
* 品牌关注
*/
module.exports={
namespace:"brandConcern",
apis:{
getList:{
title: "品牌关注 列表数据",
url: '/guang/relationship/getList',
params: [
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'},
{name: 'brandType', type: 'String'},
{name: 'status', type: 'String'},
{name: 'brandId', type: 'String'},
{name: 'gender', type: 'String'},
]
},
addRel:{
title: "品牌关注-添加",
url: '/guang/relationship/addRel',
params: [
{name: 'brandType', type: 'Number'},
{name: 'activityName', type: 'String'},
{name: 'brandId', type: 'String'},
{name: 'discount', type: 'Number'},
{name: 'activityImg', type: 'String'},
]
},
updateRel:{
title: "品牌关注列表-编辑",
url: '/guang/relationship/updateRel',
params: [
{name: 'id', type: 'Number'},
{name: 'brandType', type: 'Number'},
{name: 'activityName', type: 'String'},
{name: 'brandId', type: 'String'},
{name: 'discount', type: 'Number'},
{name: 'activityImg', type: 'String'},
]
},
delRel:{
title: "品牌关注列表-删除",
url: '/guang/relationship/delRel',
params: [
{name: 'id', type: 'Number'}
]
}
}
}