shopInfo.js 2.18 KB
module.exports={
    namespace:"shopInfo",
    apis:{
        getShopList:{
            title:"店铺列表(公共)",
            url:"/ShopsRest/getShopList",
            params:[
                {name: 'supplierId', type: 'Number'},
                {name: 'brandId', type: 'Number'},
                {name: 'operationStatus', type: 'Number'},
                {name: 'checkStatus', type: 'Number'},
                {name: 'checkStatusArr', type: 'String'},
                {name: 'shopsId', type: 'Number'},
                {name: 'vipStatus', type: 'Number'},
                {name: 'vipFlag', type: 'String'},
                {name: 'size', type: 'Number'},
                {name: 'page', type: 'Number'}
            ]
        },

        updateShops:{
            title:"店铺编辑修改保存(公共)",
            url:"/ShopsRest/updateShops",
            params:[
                {name:"shopsId",type:"Number"},
                {name:"shopName",type:"String"},
                {name:"shopDomain",type:"String"},
                {name:"shopNature",type:"Number"},
                {name:"websiteUrl",type:"String"},
                {name:"otherUrl",type:"String"},
                {name:"shopAddress",type:"String"},
                {name:"createPid",type:"Number"},
                {name:"shopsType",type:"Number"},
                {name:"shopLogo",type:"String"},
                {name:"shopIntro",type:"String"},
                {name:"onCheck",type:"Number"},
                {name:"shopRelation",type:"String"}
            ]
        },

        selectAllProduct: {
            title: "查询店铺内所有的商品",
            url: "/ShopsRest/selectAllProduct",
            params: [
                {name:"shopId",type:"Number"},
                {name:"productSKN",type:"Number"},
                {name:"productSKNList",type:"String"},
                {name:"productName",type:"String"},
                {name:"page",type:"Number"},
                {name:"size",type:"Number"},
                {name:"maxSortId",type:"Number"},
                {name:"middleSortId",type:"Number"},
                {name:"smallSortId",type:"Number"},
                {name:"status",type:"Number"}
            ]
        }
    }
}