Authored by xuhongyun

Build project

... ... @@ -2,22 +2,22 @@ module.exports = function (app){
app.get("/shop/shopCategory/index", "shop.ShopCategory.Index", function (req,res){
this.$extend={
moduleName:"店铺管理",
pageName:"店铺销售类目管理"
pageName:"店铺商品分类"
}
});
app.get("/shop/shopCategory/index/:shopId", "shop.ShopCategory.Index", function (req,res){
this.$extend={
moduleName:"店铺管理",
pageName:"店铺销售类目管理"
pageName:"店铺商品分类"
}
});
app.get("/shop/shopCategory/edit/:shopId/:categoryId/", "shop.ShopCategory.Edit", ["shopCategory_selectShopNameById", "shopCategory_selectCategoryNameById"], function (rs1, rs2){
this.$extend={
moduleName:"店铺管理",
pageName:"店铺销售类目管理",
subPageName:"店铺销售类目编辑",
pageName:"店铺商品分类",
subPageName:"店铺商品分类编辑",
shopName: rs1.data,
categoryName: rs2.data
}
... ... @@ -26,19 +26,26 @@ module.exports = function (app){
app.get("/shop/shopCategory/info/:shopId/:categoryId/", "shop.ShopCategory.Info", ["shopCategory_selectShopNameById", "shopCategory_selectCategoryNameById"], function (rs1, rs2){
this.$extend={
moduleName:"店铺管理",
pageName:"店铺销售类目管理",
subPageName:"店铺销售类目详情",
pageName:"店铺商品分类",
subPageName:"店铺商品分类详情",
shopName: rs1.data,
categoryName: rs2.data
}
});
app.get("/shop/shopCategory/batch", "shop.ShopCategory.Batch", function (req,res){
this.$extend={
moduleName:"店铺管理",
pageName:"批量设置"
}
});
/*****************************Vue单页面写法*****************************/
app.vue("/shop/shopCategory", "shop.ShopCategory", function (req,res){
this.$extend={
moduleName:"店铺管理",
pageName:"店铺销售类目管理"
pageName:"店铺商品分类"
}
});
... ...
... ... @@ -60,7 +60,7 @@ module.exports={
{name:"shopId",type:"Number"},
{name:"categoryId",type:"Number"},
{name:"productSKN",type:"Number"},
{name:"factoryCode",type:"String"},
{name:"productName",type:"String"},
{name:"page",type:"Number"}
]
},
... ... @@ -72,7 +72,7 @@ module.exports={
{name:"shopId",type:"Number"},
{name:"categoryId",type:"Number"},
{name:"productSKN",type:"Number"},
{name:"factoryCode",type:"String"},
{name:"productName",type:"String"},
{name:"page",type:"Number"}
]
},
... ...