plusStar.js 2.54 KB
/**
 * Created by ty on 2016/6/20.
 * plus/Star列表
 */

module.exports={
    namespace:"plusStarManager",
    apis:{
        getList:{
            title: "Plus/Star 列表数据",
            url: '/guang/plustar/getList',
            params: [
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'},
                {name: 'brandType', type: 'String'},
                {name: 'status', type: 'String'},
                {name: 'brandId', type: 'String'},
                {name: 'gender', type: 'String'}
            ]
        },
        addPlustar:{
            title: "Plus/Star列表-添加",
            url: '/guang/plustar/addPlustar',
            params: [
                {name: 'brandType', type: 'String'},
                {name: 'status', type: 'String'},
                {name: 'brandId', type: 'String'},
                {name: 'gender', type: 'String'},
                {name: 'coverImg', type: 'String'},
                {name: 'bannerImg', type: 'String'},
                {name: 'bannerTitle', type: 'String'},
                {name: 'orderBy', type: 'String'}
            ]
        },
        updatePlustar:{
            title: "Plus/Star列表-修改",
            url: '/guang/plustar/updatePlustar',
            params: [
                {name: 'id', type: 'String'},
                {name: 'brandType', type: 'String'},
                {name: 'status', type: 'String'},
                {name: 'brandId', type: 'String'},
                {name: 'gender', type: 'String'},
                {name: 'coverImg', type: 'String'},
                {name: 'bannerImg', type: 'String'},
                {name: 'bannerTitle', type: 'String'},
                {name: 'orderBy', type: 'String'}
            ]
        },
        getDetail:{
            title: "Plus/Star列表-编辑",
            url: '/guang/plustar/getDetail',
            params: [
                {name: 'id', type: 'Number'},
                {name: 'brandType', type: 'String'},
                {name: 'status', type: 'String'},
                {name: 'brandId', type: 'String'},
                {name: 'gender', type: 'String'},
                {name: 'coverImg', type: 'String'},
                {name: 'bannerImg', type: 'String'},
                {name: 'bannerTitle', type: 'String'},
                {name: 'orderBy', type: 'String'}
            ]
        },
        delPlustar:{
            title: "Plus/Star列表-删除",
            url: '/guang/plustar/delPlustar',
            params: [
                {name: 'id', type: 'Number'}
            ]
        }
    }
}