guang.plusStarCategory.js
1.21 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
/**
* Created by ty on 2016/6/20.
* plus/Star分类
*/
module.exports={
namespace:"plusStarCategory",
apis:{
getList:{
title: "Plus/Star分类 列表数据",
url: '/guang/plustarcategory/getList',
params: [
{name: 'page', type: 'Number'},
{name: 'size', type: 'Number'},
{name: 'status', type: 'Number'}
]
},
addCategory:{
title: "Plus/Star分类列表-添加",
url: '/guang/plustarcategory/addCategory',
params: [
{name: 'categoryName', type: 'String'},
{name: 'contentCode', type: 'String'},
{name: 'contentCodeFoot', type: 'String'}
]
},
updateCategory:{
title: "Plus/Star分类列表-编辑&开启&关闭",
url: '/guang/plustarcategory/updateCategory',
params: [
{name: 'id', type: 'Number'},
{name: 'status', type: 'Number'},
{name: 'categoryName', type: 'String'},
{name: 'contentCode', type: 'String'},
{name: 'contentCodeFoot', type: 'String'}
]
}
}
}