shop.shopCategory.js 1.31 KB
module.exports = function (app){
    app.get("/shop/shopCategory/index222", "shop.ShopCategory.Index", function (req,res){
        this.$extend={
            moduleName:"店铺管理",
            pageName:"店铺销售类目管理"
        }
    });

    app.vue("/shop/shopCategory/index", "shop.ShopCategory", function (req,res){
        this.$extend={
            moduleName:"店铺管理",
            pageName:"店铺销售类目管理"
        }
    });

    app.get("/shop/shopCategory/add", "shop.ShopCategory.Info", function (rs,req,res){
        this.$extend={
            moduleName:"店铺管理",
            pageName:"店铺销售类目管理",
            subPageName:"新增店铺销售类目"
        }
    });

    app.get("/shop/shopCategory/info/:shopId", "shop.ShopCategory.Info", function (rs,req,res){
        this.$extend={
            moduleName:"店铺管理",
            pageName:"店铺销售类目管理",
            subPageName:"店铺销售类目详情"
        }
    });

    app.get("/shop/shopCategory/edit/:shopId", "shop.ShopCategory.Edit", function (rs,req,res){
        this.$extend={
            moduleName:"店铺管理",
            pageName:"店铺销售类目管理",
            subPageName:"店铺销售类目编辑"
        }
    });

    //店铺列表(公共)
    app.post("","");

}