brand.js 2.61 KB
module.exports={
    namespace:"brand",
    apis:{
        index:{
            title:"品牌管理列表",
            url:"/erpproduct/brands/index",
            params:[
                {name: 'brandId',type: 'Number'},
                {name: 'status', type: 'Number'},
                {name: 'brandLevel',type: 'string'},
                {name: 'startTime',type: 'string'},
                {name: 'endTime',type: 'string'},
                {name: 'page',type: 'Number'},
                {name: 'size',type: 'Number'}
            ]
        },

        editBrand:{
            title:"保存修改品牌",
            url:"/erpproduct/brands/editBrand",
            params:[
                {name: 'id',type: 'Number'},
                {name: 'status',type: 'Number'},
                {name: 'brandName',type: 'string'},
                {name: 'brandNameEn',type: 'string'},
                {name: 'brandDomain',type: 'string'},
                {name: 'brandIco',type: 'string'},
                {name: 'brandLevel',type: 'string'},
                {name: 'promotionLevel',type: 'Number'},
                {name: 'mainCategory',type: 'Number'},
                {name: 'brandHeadstream',type: 'Number'},
                {name: 'brandTypes',type: 'Number'},
                {name: 'brandUrl',type: 'string'},
                {name: 'brandIntro',type: 'string'},
                {name: 'brandOutline',type: 'string'},
                {name: 'brandFounder',type: 'string'},
                {name: 'brandStyle',type: 'string'},
                {name: 'brandNature',type: 'Number'},
                {name: 'brandTonality',type: 'string'}
            ]
        },

        addBrand:{
            title:"添加品牌",
            url:"/erpproduct/brands/addBrand",
            params:[
                {name: 'brandName',type: 'string'},
                {name: 'brandNameEn',type: 'string'},
                {name: 'brandDomain',type: 'string'},
                {name: 'brandIco',type: 'string'},
                {name: 'brandLevel',type: 'string'},
                {name: 'promotionLevel',type: 'Number'},
                {name: 'mainCategory',type: 'Number'},
                {name: 'brandHeadstream',type: 'Number'},
                {name: 'brandTypes',type: 'Number'},
                {name: 'brandUrl',type: 'string'},
                {name: 'brandIntro',type: 'string'},
                {name: 'brandOutline',type: 'string'},
                {name: 'brandFounder',type: 'string'},
                {name: 'brandStyle',type: 'string'},
                {name: 'brandNature',type: 'Number'},
                {name: 'brandTonality',type: 'string'}
            ]
        }
    }
}