guang.plusStarCategory.js 1.21 KB
/**
 * Created by ty on 2016/6/20.
 * plus/Star分类
 */

module.exports={
    namespace:"plusStarCategory",
    apis:{
        getList:{
            title: "Plus/Star分类 列表数据",
            url: '/guang/plustarcategory/getList',
            params: [
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'},
                {name: 'status', type: 'Number'}

            ]
        },
        addCategory:{
            title: "Plus/Star分类列表-添加",
            url: '/guang/plustarcategory/addCategory',
            params: [
                {name: 'categoryName', type: 'String'},
                {name: 'contentCode', type: 'String'},
                {name: 'contentCodeFoot', type: 'String'}
            ]
        },
        updateCategory:{
            title: "Plus/Star分类列表-编辑&开启&关闭",
            url: '/guang/plustarcategory/updateCategory',
            params: [
                {name: 'id', type: 'Number'},
                {name: 'status', type: 'Number'},
                {name: 'categoryName', type: 'String'},
                {name: 'contentCode', type: 'String'},
                {name: 'contentCodeFoot', type: 'String'}
            ]
        }
    }
}