shop.js 1.05 KB
module.exports = function (app) {

    app.get("/supplier/shop/decoration", "shop.Index", function (req,res){
		this.$extend={
            level1title: '店铺管理',
            level2title: '店铺装修管理',
            gridurl: '/shop/ShopsDecoratorRest/findShopsDecorator'
        };
	});

    app.get("/supplier/shop/decorationDetail/:shopsId/:shopType/:shopsType/:id/","shop.Decoration");

    //店铺列表
    app.post("/shop/ShopsDecoratorRest/findShopsDecorator","shop_findBusinessShopsDecorator");

    //店铺装修详情
    app.post("/shop/ShopsDecoratorRest/findShopsDecoratorDetail","shop_findShopsDecoratorDetail");

    //店铺装修保存
    app.post("/shop/ShopsDecoratorRest/saveShopsDecorator","shop_saveShopsDecorator");

    //热销
    app.post("/shop/ShopsDecoratorRest/findHotProductList","shop_findHotProductList");

    //最新
    app.post("/shop/ShopsDecoratorRest/findNewProductList","shop_findNewProductList");

    // 根据 SKN 查询商品
    app.post("/shop/ShopsDecoratorRest/findProductBySKN","shop_findProductBySKN");

}