shop.shop.js 1.08 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("/shops-proxy/shop/decorationDetail/:shopsId/:shopType/:shopsType/:id/","shop.Decoration");

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

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

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

    //热销
    app.post("/shops-proxy/ShopsDecoratorRest/findHotProductList","shop_findHotProductList");

    //最新
    app.post("/shops-proxy/ShopsDecoratorRest/findNewProductList","shop_findNewProductList");

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

}