standardSort.js 1.13 KB
module.exports={
    namespace:"standardSort",
    apis:{
		list:{
    		title:'查询产品参数列表',
    		url: '/standardSort/getAllStandardSortBySortId',
    		params: [
	            {name: 'sortId', type: 'Number'}
	        ]
    	},
    	add:{
    		title:'增加',
    		url: '/standardSort/addStandardSort',
	        params:[
	            {name: 'sortId', type: 'Number'},
	            {name: 'standardSortName', type: 'String'},	            
	            {name: 'orderBy', type: 'Number'}	            
	        ]
    	},
    	update:{
    		title:'修改',
    		url: '/standardSort/updateStandardSort',
	        params:[
	            {name: 'id', type: 'Number'},
	            {name: 'standardSortName', type: 'String'},
	            {name: 'orderBy', type: 'Number'}
			]
    	},
    	del:{
    		title:'删除',
    		url: '/standardSort/delStandardSort',
	        params:[
	            {name: 'id', type: 'Number'}
			]
    	},
		//给前台页面查询用的
		listForSelect:{
			title:'查询产品参数列表',
			url: '/standardSort/getAllStandardSortBySortIdForSelect',
			params: [
				{name: 'sortId', type: 'Number'}
			]
		},
    }
}