shop.modularDecorator.js
1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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");
}