marketing.Department.js
1.1 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
/**
* Created by yoho on 2016/6/21.
*/
module.exports = {
namespace: "Department",
apis: {
/************************************部门信息*************************************/
add: {
title: "新增部门",
url: '/coupon/insertDepartment',
params: {
departmentName: {type: String}
}
},
update: {
title: "编辑部门",
url: '/coupon/updateDepartment',
params: {
department: {type: Number},
departmentName: {type: String}
}
},
list:{
title:"列表",
url:"/coupon/queryDepartmentList",
params: {
page: {type: Number},
size: {type: Number},
department: {type: Number},
departmentSel:{type:Number}
}
},
queryById: {
title: "查询信息",
url: '/coupon/selectByDepartmentId',
params: {
department: {type: Number}
}
}
}
};