netsale.js 4.09 KB
/**
 * Created by ty on 2016/5/18.
 */
module.exports={
    namespace:"netsale",
    apis:{
        queryNetSaleInforList:{
            title:"网销信息列表数据",
            url:"/product/queryNetSaleInforList",
            params: [
                {name: 'productSkn',type: 'number'},
                {name: 'productSkc',type: 'number'},
                {name: 'productSku',type: 'number'},
                {name: 'productName',type: 'string'},
                {name: 'shopId',type: 'number'},
                {name: 'brandId',type: 'number'},
                {name: 'isJit',type: 'string'},
                {name: 'stock',type: 'number'},
                {name: 'isScreen',type: 'string'},
                {name: 'isMeasure',type: 'string'},
                {name: 'gender',type: 'number'},
                {name: 'maxSortId',type: 'number'},
                {name: 'middleSortId',type: 'number'},
                {name: 'smallSortId',type: 'number'},
                {name: 'isOutLets',type: 'string'},
                {name: 'productStatus',type: 'number'},
                {name: 'page',type: 'number'},
                {name: 'size',type: 'number'},
                {name: 'productStatusStr',type: 'string'},
                {name: 'isInfoMiss',type: 'string'},
                {name: 'sortFlag',type: 'number'},
                {name: 'descFlag',type: 'string'},
                {name:'isAdvance',type:'string'},
                {name:'skcOnsaleStatus',type:'string'}
            ]
        },
        queryTabProductNum: {
            title: "网销信息tab页",
            url: "/product/queryTabProductNum",
            params: [
                {name: 'productSkn',type: 'number'},
                {name: 'productSkc',type: 'number'},
                {name: 'productSku',type: 'number'},
                {name: 'productName',type: 'string'},
                {name: 'shopId',type: 'number'},
                {name: 'brandId',type: 'number'},
                {name: 'isJit',type: 'string'},
                {name: 'stock',type: 'number'},
                {name: 'isScreen',type: 'string'},
                {name: 'isMeasure',type: 'string'},
                {name: 'gender',type: 'number'},
                {name: 'maxSortId',type: 'number'},
                {name: 'middleSortId',type: 'number'},
                {name: 'smallSortId',type: 'number'},
                {name: 'isOutLets',type: 'string'},
                {name: 'productStatus',type: 'number'},
                {name: 'productStatusStr',type: 'string'},
                {name: 'isInfoMiss',type: 'string'},
                {name: 'sortFlag',type: 'number'},
                {name: 'descFlag',type: 'string'},
                {name:'isAdvance',type:'string'},
                {name:'skcOnsaleStatus',type:'string'}
            ]
        },
        updateProductSknTimingInfo:{
            title: "批量skn处理",
            url: "/product/updateProductSknTimingInfo",
            params: [
            {name: 'productSknList',type: 'string'},
            {name: 'type',type: 'number'},
            {name: 'outSaleTime',type: 'number'},
            {name: 'shelveTime',type: 'string'},
            {name: 'onNewTime',type: 'string'},
            {name: 'advanceBeginTime',type: 'string'},
            {name: 'advanceEndTime',type: 'string'}
            ]
        },
        updateGoodsStatus:{
            title: "skc上下架",
            url: "/product/updateGoodsStatus",
            params: [{
                name: 'productSkc',
                type: 'number'
            }, {
                name: 'targetStatus',
                type: 'number'
            }]
        },
        updateProductSkuStatus:{
            title: "sku上下架",
            url: "/product/updateProductSkuStatus",
            params: [{
                name: 'productSku',
                type: 'number'
            }, {
                name: 'targetStatus',
                type: 'number'
            }]
        },
        getNetSaleInfo:{
            title:'查询网销详情',
            url: '/product/getNetSaleInfo',
            params:[
                {name:'param',type: 'number'}
            ]
        }
    }
}