Showing
2 changed files
with
12 additions
and
0 deletions
@@ -27,6 +27,9 @@ module.exports = function (app){ | @@ -27,6 +27,9 @@ module.exports = function (app){ | ||
27 | //保存修改品牌 | 27 | //保存修改品牌 |
28 | app.post("/brand/edit","brand_editBrand"); | 28 | app.post("/brand/edit","brand_editBrand"); |
29 | 29 | ||
30 | + //修改品牌状态 | ||
31 | + app.post("/brand/updateStatus","brand_updateStatus"); | ||
32 | + | ||
30 | //添加品牌 | 33 | //添加品牌 |
31 | app.post("/erpproduct/ajax/brands/add","brand_addBrand"); | 34 | app.post("/erpproduct/ajax/brands/add","brand_addBrand"); |
32 | } | 35 | } |
@@ -51,6 +51,15 @@ module.exports={ | @@ -51,6 +51,15 @@ module.exports={ | ||
51 | ] | 51 | ] |
52 | }, | 52 | }, |
53 | 53 | ||
54 | + updateStatus:{ | ||
55 | + title:"修改品牌状态", | ||
56 | + url:"/erpproduct/brands/updateStatus", | ||
57 | + params:[ | ||
58 | + {name: 'id',type: 'Number'}, | ||
59 | + {name: 'status',type: 'Number'} | ||
60 | + ] | ||
61 | + }, | ||
62 | + | ||
54 | addBrand:{ | 63 | addBrand:{ |
55 | title:"添加品牌", | 64 | title:"添加品牌", |
56 | url:"/erpproduct/brands/addBrand", | 65 | url:"/erpproduct/brands/addBrand", |
-
Please register or login to post a comment