marketing.ProductPool.js 2 KB
/**
 * 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");
};