marketing.ProductPool.js 2.97 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},
                productSkn:{type: Number},
                maxSortId:{type: Number},
                middleSortId:{type: Number},
                smallSortId:{type: Number},
                brandId:{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}
            }
        },
        batchAddProductPool: {
            title: "批量添加SKN",
            url: '/pool/batchAddProductPool',
            params: {
                activityid: {type: Number},
                id: {type: Number},
                producttype: {type: Number},
                productSkns: {type: String}
            }
        }
    }
};