sizelibrary.js 881 Bytes
module.exports={
    namespace:"sizelibrary",
    apis:{
        querySizeList:{
        	title:'产品管理【尺寸】页面分页渲染',
        	url:'/product/querySizeList',
		    params: [
				{name: 'sizeName', type: 'String'},
		        {name: 'page', type: 'Number'},
		        {name: 'size', type: 'Number',def:10}
		    ]
        },
        getSize:{
        	title:'获取单个尺码',
        	url:"/product/getSize",
		    params:[
		        {name: 'id', type: 'Number'}
		    ]
        },
        addSize:{
        	title:'新增尺码',
        	url:"/product/addSize",
		    params:[
		        {name: 'sizeName', type: 'String'}
		    ]
        },
        updateSize:{
        	title:'修改尺码',
        	url:"/product/updateSize",
		    params:[
		        {name: 'id', type: 'Number'},
		        {name: 'sizeName', type: 'String'}
		    ]
        }
    }
}