shopInfo.js
937 Bytes
module.exports = function (app){
app.get("/supplier/store/examine", "shop.Index", function (req,res){
this.$extend={
gridurl:'/supplier/store/indexPage',
authority:'{"btn":true,"info":"info3","operationStatus":2,"checkStatusArr":"200,300,900"}', //300,200,900
pagetitle:{
level1title:"店铺管理",
level2title:"店铺信息管理",
level3title:"店铺信息列表"
},
searchStatus:[
{value:"200",name:"审核中"},
{value:"300",name:"通过"},
{value:"900",name:"驳回"}
]
}
});
app.get("/supplier/store/info3/:shopsId", "shop.Info");
//店铺列表(公共)
app.post("/supplier/store/indexPage","shopInfo_getShopList");
//店铺编辑修改保存(公共)
app.post("/store/update","shopInfo_updateShops");
}