Showing
2 changed files
with
112 additions
and
112 deletions
@@ -6,73 +6,73 @@ | @@ -6,73 +6,73 @@ | ||
6 | module.exports=function(app) { | 6 | module.exports=function(app) { |
7 | 7 | ||
8 | /*活动模板首页*/ | 8 | /*活动模板首页*/ |
9 | - app.get("/operations/activitytemplate/index","operations.activitytemplate.Index", function () { | ||
10 | - this.$extend = { | ||
11 | - moduleName: "活动模板管理", | ||
12 | - pageName: "活动模板管理" | ||
13 | - } | ||
14 | - }); | 9 | + // app.get("/operations/activitytemplate/index","operations.activitytemplate.Index", function () { |
10 | + // this.$extend = { | ||
11 | + // moduleName: "活动模板管理", | ||
12 | + // pageName: "活动模板管理" | ||
13 | + // } | ||
14 | + // }); | ||
15 | 15 | ||
16 | - /*活动模板添加页*/ | ||
17 | - app.get("/operations/activitytemplate/add","operations.activitytemplate.Edit", "resourceManage_getUrlAction", function (response) { | ||
18 | - this.$extend = { | ||
19 | - moduleName: "活动模板管理", | ||
20 | - pageName: "添加活动模板", | ||
21 | - type: "add", | ||
22 | - url: "/activityTemplate/addTemplate", | ||
23 | - data: response.data | ||
24 | - } | ||
25 | - }); | 16 | + // /*活动模板添加页*/ |
17 | + // app.get("/operations/activitytemplate/add","operations.activitytemplate.Edit", "resourceManage_getUrlAction", function (response) { | ||
18 | + // this.$extend = { | ||
19 | + // moduleName: "活动模板管理", | ||
20 | + // pageName: "添加活动模板", | ||
21 | + // type: "add", | ||
22 | + // url: "/activityTemplate/addTemplate", | ||
23 | + // data: response.data | ||
24 | + // } | ||
25 | + // }); | ||
26 | 26 | ||
27 | - /*活动模板编辑*/ | ||
28 | - app.get("/operations/activitytemplate/edit/:id","operations.activitytemplate.Edit","resourceManage_getUrlAction", function (response,req) { | ||
29 | - this.$extend = { | ||
30 | - moduleName: "活动模板管理", | ||
31 | - pageName: "编辑活动模板", | ||
32 | - type: "edit", | ||
33 | - id: req.params.id, | ||
34 | - url: "/activityTemplate/updateTemplate", | ||
35 | - data: response.data | ||
36 | - } | ||
37 | - }); | 27 | + // /*活动模板编辑*/ |
28 | + // app.get("/operations/activitytemplate/edit/:id","operations.activitytemplate.Edit","resourceManage_getUrlAction", function (response,req) { | ||
29 | + // this.$extend = { | ||
30 | + // moduleName: "活动模板管理", | ||
31 | + // pageName: "编辑活动模板", | ||
32 | + // type: "edit", | ||
33 | + // id: req.params.id, | ||
34 | + // url: "/activityTemplate/updateTemplate", | ||
35 | + // data: response.data | ||
36 | + // } | ||
37 | + // }); | ||
38 | 38 | ||
39 | - /*活动模板编辑*/ | ||
40 | - app.get("/operations/activitytemplate/product/:id","operations.activitytemplate.Product", function (req) { | ||
41 | - this.$extend = { | ||
42 | - moduleName: "模板商品管理", | ||
43 | - pageName: "模板商品管理", | ||
44 | - id: req.params.id, | ||
45 | - url: req.originalUrl | ||
46 | - } | ||
47 | - }); | 39 | + // /*活动模板编辑*/ |
40 | + // app.get("/operations/activitytemplate/product/:id","operations.activitytemplate.Product", function (req) { | ||
41 | + // this.$extend = { | ||
42 | + // moduleName: "模板商品管理", | ||
43 | + // pageName: "模板商品管理", | ||
44 | + // id: req.params.id, | ||
45 | + // url: req.originalUrl | ||
46 | + // } | ||
47 | + // }); | ||
48 | 48 | ||
49 | - /*查询模板列表接口*/ | ||
50 | - app.post("/activityTemplate/selectTemplateList","activitytemplate_selectTemplateList"); | 49 | + // /*查询模板列表接口*/ |
50 | + // app.post("/activityTemplate/selectTemplateList","activitytemplate_selectTemplateList"); | ||
51 | 51 | ||
52 | - /*添加模板接口*/ | ||
53 | - app.post("/activityTemplate/addTemplate","activitytemplate_addTemplate"); | 52 | + // /*添加模板接口*/ |
53 | + // app.post("/activityTemplate/addTemplate","activitytemplate_addTemplate"); | ||
54 | 54 | ||
55 | - /*获取单个模板接口*/ | ||
56 | - app.post("/activityTemplate/getTemplate","activitytemplate_getTemplate"); | 55 | + // /*获取单个模板接口*/ |
56 | + // app.post("/activityTemplate/getTemplate","activitytemplate_getTemplate"); | ||
57 | 57 | ||
58 | - /*更新模板接口*/ | ||
59 | - app.post("/activityTemplate/updateTemplate","activitytemplate_updateTemplate"); | 58 | + // /*更新模板接口*/ |
59 | + // app.post("/activityTemplate/updateTemplate","activitytemplate_updateTemplate"); | ||
60 | 60 | ||
61 | - /*开启模板接口*/ | ||
62 | - app.post("/activityTemplate/publishTemplate","activitytemplate_publishTemplate"); | 61 | + // /*开启模板接口*/ |
62 | + // app.post("/activityTemplate/publishTemplate","activitytemplate_publishTemplate"); | ||
63 | 63 | ||
64 | - /*关闭模板接口*/ | ||
65 | - app.post("/activityTemplate/closeTemplate","activitytemplate_closeTemplate"); | 64 | + // /*关闭模板接口*/ |
65 | + // app.post("/activityTemplate/closeTemplate","activitytemplate_closeTemplate"); | ||
66 | 66 | ||
67 | - /*根据条件查询活动商品列表接口*/ | ||
68 | - app.post("/activityTemplate/getProductListByCondition","activitytemplate_getProductListByCondition"); | 67 | + // /*根据条件查询活动商品列表接口*/ |
68 | + // app.post("/activityTemplate/getProductListByCondition","activitytemplate_getProductListByCondition"); | ||
69 | 69 | ||
70 | - /*插入活动商品信息接口*/ | ||
71 | - app.post("/activityTemplate/insertProduct","activitytemplate_insertProduct"); | 70 | + // /*插入活动商品信息接口*/ |
71 | + // app.post("/activityTemplate/insertProduct","activitytemplate_insertProduct"); | ||
72 | 72 | ||
73 | - /*更新商品信息接口*/ | ||
74 | - app.post("/activityTemplate/updateProduct","activitytemplate_updateProduct"); | 73 | + // /*更新商品信息接口*/ |
74 | + // app.post("/activityTemplate/updateProduct","activitytemplate_updateProduct"); | ||
75 | 75 | ||
76 | - /*删除商品信息接口*/ | ||
77 | - app.post("/activityTemplate/delOneProduct","activitytemplate_delOneProduct"); | 76 | + // /*删除商品信息接口*/ |
77 | + // app.post("/activityTemplate/delOneProduct","activitytemplate_delOneProduct"); | ||
78 | } | 78 | } |
@@ -6,73 +6,73 @@ | @@ -6,73 +6,73 @@ | ||
6 | module.exports=function(app) { | 6 | module.exports=function(app) { |
7 | 7 | ||
8 | /*活动模板首页*/ | 8 | /*活动模板首页*/ |
9 | - app.get("/operations/activitytemplate/index","operations.activitytemplate.Index", function () { | ||
10 | - this.$extend = { | ||
11 | - moduleName: "活动模板管理", | ||
12 | - pageName: "活动模板管理" | ||
13 | - } | ||
14 | - }); | 9 | + // app.get("/operations/activitytemplate/index","operations.activitytemplate.Index", function () { |
10 | + // this.$extend = { | ||
11 | + // moduleName: "活动模板管理", | ||
12 | + // pageName: "活动模板管理" | ||
13 | + // } | ||
14 | + // }); | ||
15 | 15 | ||
16 | - /*活动模板添加页*/ | ||
17 | - app.get("/operations/activitytemplate/add","operations.activitytemplate.Edit", "resourceManage_getUrlAction", function (response) { | ||
18 | - this.$extend = { | ||
19 | - moduleName: "活动模板管理", | ||
20 | - pageName: "添加活动模板", | ||
21 | - type: "add", | ||
22 | - url: "/activityTemplate/addTemplate", | ||
23 | - data: response.data | ||
24 | - } | ||
25 | - }); | 16 | + // /*活动模板添加页*/ |
17 | + // app.get("/operations/activitytemplate/add","operations.activitytemplate.Edit", "resourceManage_getUrlAction", function (response) { | ||
18 | + // this.$extend = { | ||
19 | + // moduleName: "活动模板管理", | ||
20 | + // pageName: "添加活动模板", | ||
21 | + // type: "add", | ||
22 | + // url: "/activityTemplate/addTemplate", | ||
23 | + // data: response.data | ||
24 | + // } | ||
25 | + // }); | ||
26 | 26 | ||
27 | - /*活动模板编辑*/ | ||
28 | - app.get("/operations/activitytemplate/edit/:id","operations.activitytemplate.Edit","resourceManage_getUrlAction", function (response,req) { | ||
29 | - this.$extend = { | ||
30 | - moduleName: "活动模板管理", | ||
31 | - pageName: "编辑活动模板", | ||
32 | - type: "edit", | ||
33 | - id: req.params.id, | ||
34 | - url: "/activityTemplate/updateTemplate", | ||
35 | - data: response.data | ||
36 | - } | ||
37 | - }); | 27 | + // /*活动模板编辑*/ |
28 | + // app.get("/operations/activitytemplate/edit/:id","operations.activitytemplate.Edit","resourceManage_getUrlAction", function (response,req) { | ||
29 | + // this.$extend = { | ||
30 | + // moduleName: "活动模板管理", | ||
31 | + // pageName: "编辑活动模板", | ||
32 | + // type: "edit", | ||
33 | + // id: req.params.id, | ||
34 | + // url: "/activityTemplate/updateTemplate", | ||
35 | + // data: response.data | ||
36 | + // } | ||
37 | + // }); | ||
38 | 38 | ||
39 | - /*活动模板编辑*/ | ||
40 | - app.get("/operations/activitytemplate/product/:id","operations.activitytemplate.Product", function (req) { | ||
41 | - this.$extend = { | ||
42 | - moduleName: "模板商品管理", | ||
43 | - pageName: "模板商品管理", | ||
44 | - id: req.params.id, | ||
45 | - url: req.originalUrl | ||
46 | - } | ||
47 | - }); | 39 | + // /*活动模板编辑*/ |
40 | + // app.get("/operations/activitytemplate/product/:id","operations.activitytemplate.Product", function (req) { | ||
41 | + // this.$extend = { | ||
42 | + // moduleName: "模板商品管理", | ||
43 | + // pageName: "模板商品管理", | ||
44 | + // id: req.params.id, | ||
45 | + // url: req.originalUrl | ||
46 | + // } | ||
47 | + // }); | ||
48 | 48 | ||
49 | - /*查询模板列表接口*/ | ||
50 | - app.post("/activityTemplate/selectTemplateList","activitytemplate_selectTemplateList"); | 49 | + // /*查询模板列表接口*/ |
50 | + // app.post("/activityTemplate/selectTemplateList","activitytemplate_selectTemplateList"); | ||
51 | 51 | ||
52 | - /*添加模板接口*/ | ||
53 | - app.post("/activityTemplate/addTemplate","activitytemplate_addTemplate"); | 52 | + // /*添加模板接口*/ |
53 | + // app.post("/activityTemplate/addTemplate","activitytemplate_addTemplate"); | ||
54 | 54 | ||
55 | - /*获取单个模板接口*/ | ||
56 | - app.post("/activityTemplate/getTemplate","activitytemplate_getTemplate"); | 55 | + // /*获取单个模板接口*/ |
56 | + // app.post("/activityTemplate/getTemplate","activitytemplate_getTemplate"); | ||
57 | 57 | ||
58 | - /*更新模板接口*/ | ||
59 | - app.post("/activityTemplate/updateTemplate","activitytemplate_updateTemplate"); | 58 | + // /*更新模板接口*/ |
59 | + // app.post("/activityTemplate/updateTemplate","activitytemplate_updateTemplate"); | ||
60 | 60 | ||
61 | - /*开启模板接口*/ | ||
62 | - app.post("/activityTemplate/publishTemplate","activitytemplate_publishTemplate"); | 61 | + // /*开启模板接口*/ |
62 | + // app.post("/activityTemplate/publishTemplate","activitytemplate_publishTemplate"); | ||
63 | 63 | ||
64 | - /*关闭模板接口*/ | ||
65 | - app.post("/activityTemplate/closeTemplate","activitytemplate_closeTemplate"); | 64 | + // /*关闭模板接口*/ |
65 | + // app.post("/activityTemplate/closeTemplate","activitytemplate_closeTemplate"); | ||
66 | 66 | ||
67 | - /*根据条件查询活动商品列表接口*/ | ||
68 | - app.post("/activityTemplate/getProductListByCondition","activitytemplate_getProductListByCondition"); | 67 | + // /*根据条件查询活动商品列表接口*/ |
68 | + // app.post("/activityTemplate/getProductListByCondition","activitytemplate_getProductListByCondition"); | ||
69 | 69 | ||
70 | - /*插入活动商品信息接口*/ | ||
71 | - app.post("/activityTemplate/insertProduct","activitytemplate_insertProduct"); | 70 | + // /*插入活动商品信息接口*/ |
71 | + // app.post("/activityTemplate/insertProduct","activitytemplate_insertProduct"); | ||
72 | 72 | ||
73 | - /*更新商品信息接口*/ | ||
74 | - app.post("/activityTemplate/updateProduct","activitytemplate_updateProduct"); | 73 | + // /*更新商品信息接口*/ |
74 | + // app.post("/activityTemplate/updateProduct","activitytemplate_updateProduct"); | ||
75 | 75 | ||
76 | - /*删除商品信息接口*/ | ||
77 | - app.post("/activityTemplate/delOneProduct","activitytemplate_delOneProduct"); | 76 | + // /*删除商品信息接口*/ |
77 | + // app.post("/activityTemplate/delOneProduct","activitytemplate_delOneProduct"); | ||
78 | } | 78 | } |
-
Please register or login to post a comment