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

        delAdminRelation:{
            title:"删除店铺管理员",
            url:"/ShopsAdminRest/delAdminRelation",
            params:[
                {name: 'page', type: 'Number'},
                {name: 'size', 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"}
            ]
        },
    }
}