operations.staticFile.js 759 Bytes
/**
 * Created by ty on 2016/6/23.
 * 静态文件管理
 */

module.exports=function(app) {

    /*静态文件管理首页*/
    app.get("/operations/staticFileManager/index","operations.staticFile.Index", function () {
        this.$extend = {
            iscreate: true,
            moduleName: "运营管理",
            pageName: "静态文件管理"
        }
    });

    /*静态文件添加*/
    app.post("/staticFileManage/add","staticFile_add");

    /*静态文件删除*/
    app.post("/staticFileManage/deleteById","staticFile_deleteById");

    /*静态文件修改*/
    app.post("/staticFileManage/update","staticFile_update");

    /*静态文件查询*/
    app.post("/staticFileManage/queryByCondition","staticFile_queryByCondition");
}