shop.modularDecorator.js 1.14 KB
module.exports = function(app) {
    app.get("/shop/modular/decorator", "shop.modular.Index", function(req, res) {
        this.$extend={
            moduleName:"店铺管理",
            pageName:"模块化装修"
        }
    });

    // 店铺装修工具
    app.get("/shop/decorator/modulartool", "shop.modular.Decorator");

    //店铺列表
    app.post("/shop/ModularDecoratorRest/findShopsDecorator","modularDecorator_findShopDecorator");

    // 存储装修模板
    app.post("/shop/ModularDecoratorRest/saveDecoratorTemplate", "modularDecorator_saveDecoratorTemplate");

    // 查询店铺装修模板列表
    app.post("/shop/ModularDecoratorRest/findDecoratorTemplates", "modularDecorator_findShopDecoratorTemplates");

    // 查询装修模板内容
    app.post("/shop/ModularDecoratorRest/queryTemplateResource", "modularDecorator_queryDecoratorTemplateResource");

    // 删除装修模板
    app.post("/shop/ModularDecoratorRest/deleteDecoratorTemplate", "modularDecorator_deleteDecoratorTemplate");

    // 发布装修模板
    app.post("/shop/ModularDecoratorRest/publishDecoratorTemplate", "modularDecorator_publishDecoratorTemplate");
}