entrance.js 743 Bytes
/**
 * Created by ty on 2016/6/21.
 * app入口管理
 */

module.exports=function(app) {

    /*入口信息管理界面*/
    app.get("/operations/entrance/index","operations.entrance.Index", "resourceManage_getUrlAction", function (response) {
        this.$extend = {
            data:response.data
        };
    });
    /*入口列表*/
    app.post("/operations/entrance/selectEntranceList","entrance_selectEntranceList");

    /*添加入口*/
    app.post("/operations/entrance/insertEntrance","entrance_insertEntrance");

    /*修改入口*/
    app.post("/operations/entrance/updateEntrance","entrance_updateEntrance");

    /*更改入口状态*/
    app.post("/operations/entrance/publishEntrance","entrance_publishEntrance");
}