brand.brandImage.js 1.5 KB
/**
 * Created by ty on 2016/6/20.
 * plus/Star列表
 */

module.exports={
    namespace:"brandImage",
    apis:{
        getList:{
            title: "品牌图片列表数据",
            url: '/BrandImageRest/brandImageList',
            params: [
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'},
                {name: 'brandId', type: 'Number'},
                {name: 'channelId', type: 'String'}
            ]
        },
        delete:{
           title:"删除图片",
            url:'/BrandImageRest/deleteById',
            params: [
                {name: 'id', type: 'Number'}
                ]
        },
        insert:{
            title:"新增品牌图片",
            url:'/BrandImageRest/insert',
                params:[
                    {name: 'brandId', type: 'Number'},
                    {name: 'channelId', type: 'String'},
                    {name: 'src', type: 'String'}
            ]
        },
        update:{
            title:"修改品牌图片",
                url:'/BrandImageRest/update',
                params: [
                {name: 'id', type: 'Number'},
                {name: 'brandId', type: 'Number'},
                {name: 'channelId', type: 'String'},
                {name: 'src', type: 'String'}
            ]
        },
        detail:{
            title:"品牌图片详情",
            url:'/BrandImageRest/getInfoById',
            params: [
                {name: 'id', type: 'Number'}
                ]
        }
    }
}