resourceSort.js 777 Bytes
/**
 * Created by ty on 2016/6/20.
 * 资源分类管理
 */

module.exports=function(app) {

    /*资源分类管理首页*/
    app.get("/resource/sort/index","resource.resourceSortManage.Index", function () {
        this.$extend = {
            moduleName: "资源分类管理",
            pageName: "资源分类列表"
        }
    });

    /*资源分类管理列表*/
    app.post("/resources/resSortIndex","resourceSortManage_resSortIndex");

    /*添加资源分类*/
    app.post("/resources/addResSort","resourceSortManage_addResSort");

    /*修改资源分类*/
    app.post("/resources/updateResSort","resourceSortManage_updateResSort");

    /*删除资源分类*/
    app.post("/resources/deleteResourcesSort","resourceSortManage_deleteResourcesSort");
}