platform.js 739 Bytes
/**
 * Created by ty on 2016/6/20.
 * 平台管理
 */

module.exports=function(app) {

    /*平台管理首页*/
    app.get("/resource/platform/index","resource.platformManage.Index", function () {
        this.$extend = {
            moduleName: "平台管理",
            pageName: "平台列表"
        }
    });

    /*平台管理列表*/
    app.post("/resources/findResPlatforms","platformManage_findResPlatforms");

    /*添加平台*/
    app.post("/resources/addResPlatform","platformManage_addResPlatform");

    /*更新平台信息*/
    app.post("/resources/updateResPlatform","platformManage_updateResPlatform");

    /*删除平台*/
    app.post("/resources/deleteResPlatform","platformManage_deleteResPlatform");
}