shop.modularDecorator.js 1.56 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");

    // 更新装修模板
    app.post("/shop/ModularDecoratorRest/updateDecoratorTemplate", "modularDecorator_updateDecoratorTemplate");

    // 修改定时任务值
    app.post("/shop/ModularDecoratorRest/updatePublishTimeTask", "modularDecorator_updatePublishTimeTask");

    // 删除定时任务值
    app.post("/shop/ModularDecoratorRest/removePublishTaskByTemplateId", "modularDecorator_removePublishTaskByTemplateId");
}