Authored by chenchao

fix param name

... ... @@ -14,7 +14,7 @@ module.exports = function (app){
}
});
//促销编辑页
app.get("/promotion/promotionInfo/edit/:param", "customService.promotion.Edit","promotion_getPromotionInfo", function (rs,req,res){
app.get("/promotion/promotionInfo/edit/:id", "customService.promotion.Edit","promotion_getPromotionInfo", function (rs,req,res){
this.$extend={
moduleName:"营销管理",
pageName:"促销编辑",
... ...
... ... @@ -34,10 +34,10 @@ module.exports={
},
getPromotionInfo:{
title:"查询",
url:"/promotion/getPromotionInfo",
params:{
param:{type:String}
}
url:"/promotion/getPromotionInfo",
params:[
{name: 'param', type: 'Number'}
]
},
deletePromotionInfo:{
title:"删除",
... ...