marketing.ProductPool.js 2.44 KB
/**
 * Created by yoho on 2016/6/21.
 */
module.exports = {
    namespace: "ProductPool",
    apis: {
        /************************************商品池*************************************/
        queryProductPoolPage: {
            title: "商品池列表",
            url: '/pool/queryProductPoolPage',
            params: {
                id: {type: Number},
                poolName: {type: String},
                page: {type: Number},
                size: {type: Number,default:10}
            }
        },
        addProductPoolBo: {
            title: "添加商品池",
            url: '/pool/addProductPoolBo',
            params: {
                activityid: {type: Number},
                poolName: {type: String},
                comment: {type: String},
                producttype: {type: String},
                productSkns: {type: String}
            }
        },
        updateProductPool: {
            title: "编辑商品池",
            url: '/pool/updateProductPool',
            params: {
                id: {type: Number},
                poolName: {type: String},
                comment: {type: String},
                producttype: {type: String},
                productSkns: {type: String}
            }
        },
        clearProductPool: {
            title: "清空商品池",
            url: '/pool/clearProductPool',
            params: {
                id: {type: Number}
            }
        },
        deleteProductPool: {
            title: "删除商品池",
            url: '/pool/deleteProductPool',
            params: {
                id: {type: Number}
            }
        },
        queryProductPoolDetailPage: {
            title: "详情列表",
            url: '/pool/queryProductPoolDetailPage',
            params: {
                id: {type: Number},
                page: {type: Number},
                size: {type: Number,default:10}
            }
        },
        deleteProductPoolDetailBo: {
            title: "详情删除SKN",
            url: '/pool/deleteProductPoolDetailBo',
            params: {
                id: {type: Number}
            }
        },
        addProductPoolDetailBo: {
            title: "详情添加SKN",
            url: '/pool/addProductPoolDetailBo',
            params: {
                activityid: {type: Number},
                poolId: {type: Number},
                productskn: {type: Number},
                producttype: {type: Number}
            }
        }

    }
};