category.category.js 1.79 KB
module.exports={
    namespace:"category",
    apis:{
        queryAllProductSortList:{
        	title:'获取所有品类',
        	url: '/product/queryAllProductSortList',
        },
        addProductSort:{
        	title:'商品管理>【添加品类】ajax请求接口',
        	url: '/product/addProductSort',
	        params: [
	            {name: 'sortName', type: 'String'},
	            {name: 'sortInitials', type: 'String'},
	            {name:'firstSortId', type: 'Number'},
	            {name:'secondSortId', type:'Number'},
	            {name:'threeSortId', type:'Number'},
	            {name: 'orderBy', type: 'Number'},
	            {name: 'status', type: 'Number'}
	        ]
        },
        getProductSort:{
        	title:'获取商品类目',
        	url:'/product/getProductSort',
	        params: [
	            {name: 'param', type: 'Number'}
	        ]
        },
        updateProductSort:{
        	title:'更新商品类目',
        	url: '/product/updateProductSort',
	        params: [
	            {name: 'id', type: 'Number'},
	            {name: 'sortName', type: 'String'},
	            {name: 'sortInitials', type: 'String'},
	            {name:'firstSortId', type: 'Number'},
	            {name:'secondSortId', type:'Number'},
	            {name:'threeSortId', type:'Number'},
	            {name: 'orderBy', type: 'Number'},
	            {name: 'status', type: 'Number'}
	        ]
        },
        publishProductSort:{
        	title:'publishProductSort',
        	url: '/product/publishProductSort',
	        params: [
	            {name: 'param', type: 'Number'}
	        ]
        },
        closeProductSort:{
        	title:'closeProductSort',
        	url: '/product/closeProductSort',
	        params: [
	            {name: 'param', type: 'Number'}
	        ]
        }
    }
}