shop.shop.js 958 Bytes
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");


}