marketing.ProductPool.js
2 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
/**
* Created by yoho on 2016/6/20.
*/
module.exports = function (app) {
/*************************************商品池管理*************************************/
//列表页
app.get("/market/productPool/index", "marketing.ProductPool.Index",function(){
this.$extend={
moduleName:'营销管理',
pageName:'商品池管理'
}
});
//优惠券商品池列表页
app.get("/market/couponPrdPool/index", "marketing.CouponPrdPool.Index",function(){
this.$extend={
moduleName:'营销管理',
pageName:'优惠券商品池管理'
}
});
//列表数据
app.post("/market/productPool/queryProductPoolPage", "ProductPool_queryProductPoolPage");
//新增
app.post("/market/productPool/addProductPoolBo", "ProductPool_addProductPoolBo");
//编辑
app.post("/market/productPool/updateProductPool", "ProductPool_updateProductPool");
//清空
app.post("/market/productPool/clearProductPool", "ProductPool_clearProductPool");
//清空banner
app.post("/market/productPool/clearProductPoolBanner", "ProductPool_clearProductPoolBanner");
//清空活动背景图
app.post("/market/productPool/clearProductPoolBackImageUrl", "ProductPool_clearProductPoolBackImageUrl");
//删除
app.post("/market/productPool/deleteProductPool", "ProductPool_deleteProductPool");
//详情列表
app.post("/market/productPool/queryProductPoolDetailPage", "ProductPool_queryProductPoolDetailPage");
//详情删除SKN
app.post("/market/productPool/deleteProductPoolDetailBo", "ProductPool_deleteProductPoolDetailBo");
//详情添加SKN
app.post("/market/productPool/addProductPoolDetailBo", "ProductPool_addProductPoolDetailBo");
//详情批量添加SKN
app.post("/market/productPool/batchAddProductPool", "ProductPool_batchAddProductPool");
//详情修改排序
app.post("/market/productPool/updateProductPoolDetailSort", "ProductPool_updateProductPoolDetailSort");
};