import fetch from './base/fetch2'

/**
 * @description 获取尾房信息
 * @param {Object} data
 * @author 沈孟
 */
export const getHouseInfoData = (data) => fetch('/building/getComAndBldJson', '/itemHouse', data, 'JSON', 'POST', 'JSON')

/**
 * @description 获取尾房单元房间信息
 * @param {Object} data
 * @author 沈孟
 */
export const getUnitHouseData = (data) => fetch('/room/getRoomJson', '/itemHouse', {}, 'JSON', 'POST', 'JSON',data)
