goods.netsale.js 12.4 KB
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'},
	            {name:'factoryCode',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:'isAdvance', type:'string'},
	            {name:'skcOnsaleStatus', type:'string'},
	            {name:'factoryCode',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'}
	        ]
        },
        saveNetSaleAllInfo:{
        	title:'保存完整网销信息',
        	url: '/product/saveNetSaleAllInfo',
	        params: [
	            {name: 'productSkn', type: 'number'},
	            {name: 'productName', type: 'string'},
	            {name: 'isNew', type: 'string'},
	            {name: 'sellChannels', type: 'string'},
	            {name: 'phrase', type: 'string'},
	            {name: 'outSaleTime', type: 'string'},
	            {name: 'shopIds', type: 'string'},
	            {name: 'productDesc', type: 'string'},
	            {name: 'vedioUrl', type: 'string'},
	            {name: 'recommend', type: 'string'},
	            {name: 'brandModel', type: 'string'},
	            {name: 'brandSeries', type: 'string'},
	            {name: 'makeCrafts', type: 'string'},
	            {name: 'pattern', type: 'string'},
	            {name: 'style', type: 'string'},
	            {name: 'salesPhrase', type: 'string'},
	            {name: 'isHostsell', type: 'string'},
	            {name: 'wearSense', type: 'string'},
	            {name: 'searchSortList', type: 'string'},
	            {name: 'searchKeys', type: 'string'},
	            {name: 'brandRelationList', type: 'string'},
	            {name: 'attributeProValuesOne', type: 'string'},
	            {name: 'attributeProValuesTwo', type: 'string'},
	            {name: 'goodsImagesReq', type: 'string'},
	            {name: 'productStandardRelationStr', type: 'string'},
	            {name: 'productMaterial', type: 'string'},
	            {name:'isAdvance', type:'string'},
	            {name:'skcOnsaleStatus', type:'string'}
	        ]
        },
        saveNetSaleBaseInfo:{
        	title:'保存基本信息接口',
        	url: '/product/saveNetSaleBaseInfo',
	        params: [
	            {name: 'productSkn', type: 'number'},
	            {name: 'productName', type: 'string'},
	            {name: 'isNew', type: 'string'},
	            {name: 'sellChannels', type: 'string'},
	            {name: 'phrase', type: 'string'},
	            {name: 'outSaleTime', type: 'number'},
	            {name: 'shopIds', type: 'string'}
	        ]
        },
        saveAfterSaleInfo:{
        	title:'保存上架后补全信息',
        	url: '/product/saveAfterSaleInfo',
	        params: [
	            {name: 'productSkn', type: 'number'},
	            {name: 'brandModel', type: 'string'},
	            {name: 'brandSeries', type: 'string'},
	            {name: 'makeCrafts', type: 'string'},
	            {name: 'salesPhrase', type: 'string'},
	            {name: 'isHostsell', type: 'string'},
	            {name: 'wearSense', type: 'string'},
	            {name: 'attributeProValuesTwo', type: 'string'}
	        ]
        },
        queryAttributesByConf:{
        	title:'查询补全信息',
        	url: '/product/queryAttributesByConf',
	        params: [
	            {name: 'categoryId', type: 'number'},
	            {name: 'displayPosition', type: 'number'},
	            {name: 'saleType', type: 'number'}
	        ]
        },
        queryShopsByBrandId:{
        	title:'根据品牌获取店铺',
        	url: '/ShopsRest/queryShopsByBrandId',
	        params: [
	            {name: 'brandId', type: 'number'}
	        ]
        },
        queryMakingProcess:{
        	title:"查询制作工艺列表",
        	url: '/product/queryMakingProcess',
	        params: [
	            {name: 'categoryId', type: 'number'},
	            {name: 'displayPosition', type: 'number'}
	        ]
        },
        queryAll4Select:{
        	title:'查询品牌款型系列列表',
        	url: '/brandSeries/queryAll4Select',
	        params: [
	            {name: 'type', type: 'number'},
	            {name: 'status', type: 'number'},
	            {name: 'shopsId', type: 'number'},
	            {name: 'brandId', type: 'number'}
	        ]
        },
        saveBrandRelation:{
        	title:'品牌关联',
        	url: '/product/saveBrandRelation',
	        params: [
	            {name: 'productSkn', type: 'number'},
	            {name: 'brandRelationList', type: 'string'}
	        ]
        },
        saveNetSaleVideo:{
        	title:'保存视频接口',
        	url: '/product/saveNetSaleVideo',
	        params: [
	            {name: 'productSkn', type: 'number'},
	            {name: 'vedioUrl', type: 'string'}
	        ]
        },
        queryBrandsByStatus:{
        	title:'品牌关联列表',
        	url: '/erpproduct/brands/queryBrandsByStatus '
        },
        queryAttributesByConfEx:{
        	title:'商品参数',
        	url: '/product/queryAttributesByConfEx',
	        params: [
	            {name: 'categoryId', type: 'number'},
	            {name: 'displayPosition', type: 'number'},
	            {name: 'saleType', type: 'number'}
	        ]
        },
        queryProductPhotoList:{
        	title:'调用图片',
        	url: '/productPhoto/queryProductPhotoList',
	        params: [
	            {name: 'productSkn', type: 'number'},
	            {name: 'productSkc', type: 'number'},
	            {name: 'productSku', type: 'number'},
	            {name: 'startTime', type: 'number'},
	            {name: 'endTime', type: 'number'}
	        ]
        },
        saveSearchSort:{
        	title:'保存搜索顺序',
        	url: '/product/saveSearchSort',
	        params: [
	            {name: 'searchSortList', type: 'string'}
	        ]
        },
        queryHotSearchTerms:{
        	title:'查找热搜词',
        	url: '/searchWords/queryHotSearchTerms',
	        params: [
	            {name: 'page', type: 'number'},
	            {name: 'size', type: 'number', default: 10}
	        ]
        },
        getAll4Select:{
        	title:'查找洗涤提示',
        	url: '/washTips/getAll4Select'
        },
        queryAllBySortId4Select:{
        	title:'查找材质参数',
        	url: '/productMaterial/queryAllBySortId4Select',
	        params: [
	            {name: 'param', type: 'number'}
	        ]
        },
        saveNetSaleSearchKeys:{
        	title:'保存搜索关键词',
        	url: '/product/saveNetSaleSearchKeys',
	        params: [
	            {name: 'productSkn', type: 'number'},
	            {name: 'searchKeys', type: 'string'}
	        ]
        },
        saveProductParam:{
        	title:'保存商品参数',
        	url: '/product/saveProductParam',
	        params: [
	            {name: 'productSkn', type: 'number'},
	            {name: 'attributeProValuesOne', type: 'string'},
	            {name: 'productStandardRelationStr', type: 'string'},
	            {name: 'productMaterial', type: 'string'}
	        ]
        },
        saveProductDesc:{
        	title:'商品描述',
        	url: '/product/saveProductDesc',
	        params: [
	            {name: 'productSkn', type: 'Number'},
	            {name: 'productDesc', type: 'String'}
	        ]
        },
        saveNetSaleRecommend:{
        	title:'小编推荐',
        	url: '/product/saveNetSaleRecommend',
	        params: [
	            {name: 'productSkn', type: 'Number'},
	            {name: 'recommend', type: 'String'}
	        ]
        },
        selectCollocationListBySkn:{
        	title:'查询搭配列表',
        	url: '/collocation/selectCollocationListBySkn',
	        params: [
	            {name: 'productSkn', type: 'Number'},
	            {name: 'page', type: 'Number'},
	            {name: 'size', type: 'Number'}
	        ]
        },
        selectCollocationById:{
        	title:'获取单个商品搭配信息',
        	url: '/collocation/selectCollocationById',
	        params: [
	            {name: 'param', type: 'Number'}
	        ]
        },
        insertCollocation:{
        	title:'添加单个搭配',
        	url: '/collocation/insertCollocation',
	        params: [
	            {name: 'productSkn', type: 'Number'},
	            {name: 'imageUrl', type: 'String'},
	            {name: 'content', type: 'String'},
	            {name: 'infoStr', type: 'String'}
	        ]
        },
        updateCollocation:{
        	title:'更新单个搭配',
        	url: '/collocation/updateCollocation',
	        params: [
	            {name: 'id', type: 'Number'},
	            {name: 'imageUrl', type: 'String'},
	            {name: 'content', type: 'String'},
	            {name: 'infoStr', type: 'String'}
	        ]
        },
        delCollocationById:{
        	title:'删除单个搭配',
        	url: '/collocation/delCollocationById',
	        params: [
	            {name: 'param', type: 'Number'}
	        ]
        },
        manageProductImg:{
        	title:'单独维护封面信息',
        	url: '/product/manageProductImg',
	        params: [
	            {name: 'goodsImagesReq', type: 'string'}
	        ]
        },
        queryArticlesBySKN:{
        	title:'小编推荐',
        	url: '/guang/article/queryArticlesBySKN',
	        params: [
	            {name: 'productSkn', type: 'string'}
	        ]
        }
    }
}