shop.modularDecorator.js 2.95 KB
module.exports = {
    namespace: "modularDecorator",
    apis: {
        findShopDecorator: {
            title: "获取店铺装修列表",
            url: "/newShopsDecoratorRest/queryShopsDecoratorList",
            params: [
                {name: "page", type: "Number"}, 
                {name: "size", type: "Number"},
                {name: "shopId", type: "Number"},
                {name: "supplierId", type: "Number"},
                {name: "brandId", type: "Number"},
                {name: "openStatus", type: "Number"}, // 开店状态,0: 未开店, 1:已开店
                {name: "decoratorStatus", type: "Number"}, // 装修状态: 0: 待装修,1: 待审核,2:审核通过(已发布),3:驳回
                {name: "appType", type: "Number"} // 是否BLK,0:有货店铺,1:BLK店铺
            ]
        },
        saveDecoratorTemplate: {
            title: "存储店铺装修模板",
            url: "/newShopsDecoratorRest/saveDecoratorTemplate",
            params: [
                {name: "shopId", type: "Number"},
                {name: "platform", type: "Number"},
                {name: "appType", type: "Number"},
                {name: "templateName", type: "String"},
                {name: "templateType", type: "String"},
                {name: "modules", type: "String"},
                {name: "flag", type: "Number"}
            ]
        },
        findShopDecoratorTemplates: {
            title: "查询店铺装修模板列表",
            url: "/newShopsDecoratorRest/queryDecoratorTemplateList",
            params: [
                {name: "shopId", type: "Number"},
                {name: "platform", type: "Number"},
                {name: "appType", type: "Number"}
            ]
        },
        queryDecoratorTemplateResource: {
            title: "查询店铺装修内容",
            url: "/newShopsDecoratorRest/queryDecoratorModuleRes",
            params: [
                {name: "templateId", type: "Number"}
            ]
        },
        deleteDecoratorTemplate: {
            title: "删除装修模板",
            url: "/newShopsDecoratorRest/deleteDecoratorTemplate",
            params: [
                {name: "templateId", type: "Number"}
            ]
        },
        publishDecoratorTemplate: {
            title: "发布店铺模板",
            url: "/newShopsDecoratorRest/publishDecoratorTemplate",
            params: [
                {name: "templateId", type: "Number"}
            ]
        },
        updateDecoratorTemplate: {
            title: "更新店铺模板",
            url: "/newShopsDecoratorRest/updateDecoratorTemplate",
            params: [
                {name: "templateId", type: "Number"},
                {name: "shopId", type: "Number"},
                {name: "platform", type: "Number"},
                {name: "appType", type: "Number"},
                {name: "templateName", type: "String"},
                {name: "modules", type: "String"}
            ]
        }
    }
}