product.productMaterial.js
1.97 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
59
60
61
62
/**
* 材质管理
*/
module.exports={
namespace:"productMaterial",
apis:{
getMaterialList: {
title: "查询材质列表",
url: '/product/material/queryMaterialList',
params: [
{name: "maxSortId",type: "Number"},
{name: "page", type: "Number"},
{name: "size", type: "Number"}
]
},
getMaterialDetail: {
title: "查询材质详情",
url: '/product/material/queryMaterialDetail',
params: [
{name: "materialId", type: "Number"}
]
},
addMaterial: {
title: "新增材质",
url: '/product/material/addMaterial',
params: [
{name: "id", type: "Number", default:0},
{name: "maxSortId", type: "Number"},
{name: "caption", type: "String"},
{name: "encaption", type: "String"},
{name: "imageUrl", type: "String"},
{name: "remark", type: "String"}
]
},
updateMaterial: {
title: "更新材质",
url: '/product/material/updateMaterial',
params: [
{name: "id", type: "Number"},
{name: "maxSortId", type: "Number"},
{name: "caption", type: "String"},
{name: "encaption", type: "String"},
{name: "imageUrl", type: "String"},
{name: "remark", type: "String"}
]
},
deleteMaterial: {
title: "删除材质",
url: '/product/material/deleteMaterial',
params: [
{name: "materialId", type: "Number"}
]
},
getBindProductInfo: {
title: "查看材质绑定信息",
url: '/product/material/getBindProductInfo',
params: [
{name: "materialId", type: "Number"}
]
}
}
}