entrance.js 827 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,
            moduleName: "运营管理",
            pageName: "入口信息管理"
        };
    });
    /*入口列表*/
    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");
}