import { request } from 'umi'; export async function updateAdmin(data: object){ return request('/api/admin/superviser/updateAdmin',{ method:'post', data }) } // 查询上级主管 export async function getSelectName(name: object){ return request('/api/admin/organization/selectName',{ method:'post', data:{ name } }) }