baserule.catesize.js 2.37 KB
module.exports={
    namespace:"catesize",
    apis:{
        querySizeListBySortId:{
        	title:'querySizeListBySortId',
        	url: '/product/querySizeListBySortId',
	        params: [
	            {name: "sortId", type: "number"}
	        ]
        },
        addSortSize:{
        	title:'添加尺码接口【验证通过】',
        	url: '/product/addSortSize',
	        params: [
	            {name: "sortId", type: "number"},
	            {name: "sizeId", type: "number"},
	            {name: "orderBy", type: "number"}
	        ]
        },
        deleteSortSize:{
        	title:'删除单个品类尺码接口【待验证】',
        	url: '/product/deleteSortSize',
	        params: [
	            {name: "sortId", type: "number"},
	            {name: "sizeId", type: "number"}
	        ]
        },
        updateSortSize:{
        	title:'修改品类尺码排序接口',
        	url: '/product/updateSortSize',
	        params: [
	            {name: "sortId", type: "number"},
	            {name: "sizeId", type: "number"},
	            {name: "orderBy", type: "number"}
	        ]
        },
        /**********************品类尺码属性管理*****************************/
        queryList:{
        	title:'获取品类关联尺码属性列表【验证通过】',
        	url: '/sortAttribute/queryList',
	        params: [
	            {name: "page", type: "number"},
	            {name: "size", type: "number"},
	            {name: "sortId", type: "number"}
	        ]
        },
        add:{
        	title:'添加品类关联尺码属性接口【待验证】',
        	url: '/sortAttribute/add',
	        params: [
	            {name: "sortId", type: "number"},
	            {name: "attributeId", type: "number"},
	            {name: "orderBy", type: "number"}
	        ]
        },
        delete:{
        	title:'删除品类关联尺码属性接口【待验证】',
        	url: '/sortAttribute/delete',
	        params: [
	            {name: "sortId", type: "number"},
	            {name: "attributeId", type: "number"}
	        ]
        },
        updateOrderBy:{
        	title:'修改品类关联尺码属性接口【待验证】',
        	url: '/sortAttribute/updateOrderBy',
	        params: [
	            {name: "sortId", type: "number"},
	            {name: "attributeId", type: "number"},
	            {name: "orderBy", type: "number"}
	        ]
        }
    }
}