guang.tag.js 1.66 KB
/**
 * Created by ty on 2016/6/20.
 * 标签管理
 */

module.exports={
    namespace:"tagManager",
    apis:{
        getList:{
            title: "标签管理列表数据",
            url: '/guang/tags/getList',
            params: [
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'},
                {name: 'isHot', type: 'Number'},
                {name: 'status', type: 'Number'},
                {name: 'classifyId', type: 'Number'},
                {name: 'tagName', type: 'String'}
            ]
        },
        updateTag:{
            title: "标签管理-编辑",
            url: '/guang/tags/updateTag',
            params: [
                {name: 'id', type: 'Number'},
                {name: 'tagName', type: 'String'},
                {name: 'classifyId', type: 'Number'},
                {name: 'isHot', type: 'Number'},
                {name: 'status', type: 'Number'},
                {name: 'orderBy', type:'Number'},
                {name: 'cover', type:'String'}
            ]
        },
        addTag:{
            title: "标签管理-添加",
            url: '/guang/tags/addTag',
            params: [
                {name: 'tagName', type: 'String'},
                {name: 'classifyId', type: 'Number'},
                {name: 'isHot', type: 'Number'},
                {name: 'status', type: 'Number'},
                {name: 'orderBy', type:'Number'},
                {name: 'cover', type:'String'}
            ]
        },
        delTag:{
            title: "标签管理-删除",
            url: '/guang/tags/delTag',
            params: [
                {name: 'id', type: 'Number'}
            ]
        }
    }
}