Authored by lijian

数据兼容

... ... @@ -27,6 +27,9 @@ module.exports = function (app){
//保存修改品牌
app.post("/brand/edit","brand_editBrand");
//修改品牌状态
app.post("/brand/updateStatus","brand_updateStatus");
//添加品牌
app.post("/erpproduct/ajax/brands/add","brand_addBrand");
}
... ...
... ... @@ -51,6 +51,15 @@ module.exports={
]
},
updateStatus:{
title:"修改品牌状态",
url:"/erpproduct/brands/updateStatus",
params:[
{name: 'id',type: 'Number'},
{name: 'status',type: 'Number'}
]
},
addBrand:{
title:"添加品牌",
url:"/erpproduct/brands/addBrand",
... ...