productParm.js 1004 Bytes
module.exports={
    namespace:"productparm",
    apis:{
		getAllStandardWithValsBySortId:{
    		title:'查询产品参数列表',
    		url: '/standard/getAllStandardWithValsBySortId',
    		params: [
	            {name: 'sortId', type: 'Number'}
	        ]
    	},
    	add:{
    		title:'增加',
    		url: '/standard/addStandard',
	        params:[
	            {name: 'standardName', type: 'String'},
	            {name: 'standardSortId', type: 'Number'},
	            {name: 'sortId', type: 'Number'},
	            {name: 'orderBy', type: 'Number'}
			]
    	},
    	update:{
    		title:'修改',
    		url: '/standard/updateStandard',
	        params:[
	            {name: 'id', type: 'Number'},
	            {name: 'standardName', type: 'String'},
				{name: 'standardSortId', type: 'Number'},
				{name: 'orderBy', type: 'Number'}
			]
    	},
    	del:{
    		title:'删除',
    		url: '/standard/delStandard',
	        params:[
	            {name: 'id', type: 'Number'}
			]
    	}
    }
}