shop.shopAdministrator.js 1.69 KB
module.exports={
    namespace:"shopAdministrator",
    apis:{
        getShopsAdminList:{
            title:"店铺管理员列表",
            url:"/ShopsAdminRest/getShopsAdminList",
            params:[
                {name: 'page', type: 'Number'},
                {name: 'size', type: 'Number'},
                {name: 'shopsId', type: 'Number'},
                {name: 'adminPid', type: 'Number'}
            ]
        },

        delAdminRelation:{
            title:"删除店铺管理员",
            url:"/ShopsAdminRest/delAdminRelation",
            params:[
                {name:"id",type:"Number"}
            ]
        },

        addAdminRelation:{
            title:"添加店铺管理员",
            url:"/ShopsAdminRest/addAdminRelation",
            params:[
                {name:"shopsId",type:"Number"},
                {name:"adminPid",type:"Number"},
                {name:"identity",type:"Number"}
            ]
        },

        updateAdminRalation:{
            title:"保存修改店铺管理员",
            url:"/ShopsAdminRest/updateAdminRalation",
            params:[
                {name:"id",type:"Number"},
                {name:"shopsId",type:"Number"},
                {name:"adminPid",type:"Number"},
                {name:"identity",type:"Number"}
            ]
        },

        selectSupplierByBrandId:{
            title:"根据品牌选择供应商",
            url:"/supplier/supplier/selectSupplierByBrandId",
            params:[
                {name:"brandId",type:"Number"}
            ]
        },

        getAllShopAdminProfile:{
            title: "获取所有的店铺管理员信息",
            url: "/ShopsAdminRest/getAllShopAdminProfile"
        }
    }
}