import request from '@/sheep/request'; const CommunityApi = { // 获取小区简单列表 getSimpleList: () => { return request({ url: '/community/community/simple-list', method: 'GET', custom: { showLoading: true, auth: true, }, }); }, // 获取小区房屋树 getHouseTree: (communityId) => { return request({ url: '/community/house/tree', method: 'GET', params: { communityId }, custom: { showLoading: true, auth: true, }, }); }, }; export default CommunityApi;