brandmodel.js 1.74 KB
module.exports={
    namespace:"brandmodel",
    apis:{
    	queryAll:{
    		title:'初始化列表 & 筛选',
    		url: '/brandSeries/queryAll',
    		params: [
	            {name: 'seriesName', type: 'String'},
	            {name: 'shopsId', type: 'Number'},
	            {name: 'brandId', type: 'Number'},
	            {name: 'type', type: 'Number'},
	            {name: 'status', type: 'Number'},
	            {name: 'orderBy', type: 'Number'},
	            {name: 'page', type: 'Number'},
	            {name: 'size', type: 'Number'}
	        ]
    	},
    	add:{
    		title:'增加',
    		url: '/brandSeries/add',
	        params:[
	            {name: 'seriesName', type: 'String'},
	            {name: 'shopsId', type: 'Number'},
	            {name: 'brandId', type: 'Number'},
	            {name: 'type', type: 'Number'},
	            {name: 'orderBy', type: 'Number'},
	            {name: 'seriesBanner', type: 'String'}
	        ]
    	},
    	update:{
    		title:'修改',
    		url: '/brandSeries/update',
	        params:[
	            {name: 'id', type: 'Number'},
	            {name: 'seriesName', type: 'String'},
	            {name: 'shopsId', type: 'Number'},
	            {name: 'brandId', type: 'Number'},
	            {name: 'type', type: 'Number'},
	            {name: 'orderBy', type: 'Number'},
	            {name: 'seriesBanner', type: 'String'}
	        ]
    	},
    	close:{
    		title:'关闭',
    		url: '/brandSeries/close',
	        params:[
	            {name: 'id', type: 'Number'},
	            {name: 'type', type: 'Number'}
	        ]
    	},
    	open:{
    		title:'开启',
    		url: '/brandSeries/open',
	        params:[
	            {name: 'id', type: 'Number'},
	            {name: 'type', type: 'Number'}
	        ]
    	}
    }
}