productBundle.js 1.45 KB
/**
 * 商品套餐
 */
module.exports={
    namespace:"productBundle",
    apis:{
        productBundleList:{
            title: "单品列表 ajax 分页",
            url: '/productBundleList',
            params: [
                {name: 'id', type: 'Number'},
                {name: 'productSkn', type: 'String'},
                {name: 'status', type: 'Number'},
                {name: 'brand', type: 'Number'},
                {name: 'bundleName', type: 'String'},
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'},
                {name: 'shopId', type : 'Number'}
            ]
        },
        productBundleSaveOrUpdate: {
            title: "保存编辑",
            url: '/productBundleSaveOrUpdate',
            params: [
                { name: 'boListStr', type: 'String'}
            ]
        },
        productBundleStop: {
            title: "终止",
            url: "/productBundleStop",
            params: [
                { name: 'id', type: 'Number'}
            ]
        },
        findProductBundleByID: {
            title: "查询单个商品套装",
            url: "/findProductBundleByID",
            params: [
                { name: 'id', type: 'Number'}
            ]
        },
        syncProductBundleToFront: {
            title: "同步到前台",
            url: "/syncProductBundleToFront",
            params: [
                { name: 'id', type: 'Number'}
            ]
        }
    }
}