shopInfo.js 2.93 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'},
                {name:"appType",type:"Number"},
                {name:"shopNature",type:"String"}
            ]
        },

        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"},
                {name:"appType",type:"Number"},
                {name:"unionType",type:"String"},
                {name:"businessLicense",type:"String"},
                 // 客服电话
                {name:"customerTel",type:"String"},
                 // 店铺地址
                {name:"province",type:"String"},
                {name:"city",type:"String"},
                {name:"county",type:"String"},
                {name:"street",type:"String"},
                {name:"detailAdd",type:"String"},
                {name:"zfbAccountName",type:"String"},
                {name:"zfbAccount",type:"String"},
                {name:"checkTel",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"}
            ]
        }
    }
}