| 
								
							 | 
							
								// 检查 HTTP 实例是否已初始化
							 | 
						
						
						
							| 
								
							 | 
							
								if (!uni.$uv || !uni.$uv.http) {
							 | 
						
						
						
							| 
								
							 | 
							
									console.error('HTTP 实例未初始化,请检查 uvUI 配置')
							 | 
						
						
						
							| 
								
							 | 
							
								}
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								const { http } = uni.$uv
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 获取菜单
							 | 
						
						
						
							| 
								
							 | 
							
								export const fetchMenu = (params, config = {}) => http.get('/applet/index/getRecommendDocs', params, config)
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								/**
							 | 
						
						
						
							| 
								
							 | 
							
								 * 登录的接口
							 | 
						
						
						
							| 
								
							 | 
							
								 */
							 | 
						
						
						
							| 
								
							 | 
							
								// 微信登录接口
							 | 
						
						
						
							| 
								
							 | 
							
								export const wxLogin = (params) => http.get('/api/login/login', {params:params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								export const bindPhone = (params) => http.get('/houserent-admin/login_common/bindPhone', {params:params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 微信登录接口
							 | 
						
						
						
							| 
								
							 | 
							
								export const appletLogin = (params) => http.get('/houserent-admin/login_common/appletLogin', {params:params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 配置
							 | 
						
						
						
							| 
								
							 | 
							
								export const getConfig = (params) => http.get('/houserent-admin/config_common/getConfig', {params:params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 获取个人信息
							 | 
						
						
						
							| 
								
							 | 
							
								export const getInfo = (params) => http.get('/houserent-admin/info_common/getInfo', {params:params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 修改个人信息
							 | 
						
						
						
							| 
								
							 | 
							
								export const UpdateInfo = (data) => http.post('/houserent-admin/info_common/updateInfo', data)
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 根据租房分类信息获取租房带分页列表信息
							 | 
						
						
						
							| 
								
							 | 
							
								export const housePageList = (params) => http.get('/houserent-admin/common_index/getHousePageList', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 根据租房详情id获取房源详情
							 | 
						
						
						
							| 
								
							 | 
							
								export const houseDetail = (params) => http.get('/houserent-admin/common_index/getHouseDetail', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 获取租房分类类型
							 | 
						
						
						
							| 
								
							 | 
							
								export const houseType = (params) => http.get('/houserent-admin/common_index/getHouseType', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 获取通知公告
							 | 
						
						
						
							| 
								
							 | 
							
								export const noticeObjApi = (params) => http.get('/houserent-admin/common_index/getNotice', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 经纪人账号密码登录
							 | 
						
						
						
							| 
								
							 | 
							
								export const commonIndexLogin = (data) => http.post('/houserent-admin/common_index/login', data)
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 房东输入邀请码登录
							 | 
						
						
						
							| 
								
							 | 
							
								export const commonIndexLoginByInviteCode = (data) => http.post('/houserent-admin/common_index/loginByInviteCode', data)
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 发布或编辑房源
							 | 
						
						
						
							| 
								
							 | 
							
								export const saveOrUpdateHouse = (data) => http.post('/houserent-admin/common_index/saveOrUpdateHouse', data)
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 获取发现列表页面数据带分页
							 | 
						
						
						
							| 
								
							 | 
							
								export const commonIndexFindPageList = (params) => http.get('/houserent-admin/common_index/getFindPageList', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								// 获取发现列表详情
							 | 
						
						
						
							| 
								
							 | 
							
								export const commonIndexFindDetail = (params) => http.get('/houserent-admin/common_index/getFindDetail', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								// 获取首页图标的接口
							 | 
						
						
						
							| 
								
							 | 
							
								export const commonIndexIndexIcon = (params) => http.get('/houserent-admin/common_index/getIndexIcon', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 房东中心
							 | 
						
						
						
							| 
								
							 | 
							
								export const MyHousePageList = (params) => http.get('/houserent-admin/common_index/getMyHousePageList', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								// 经纪人中心
							 | 
						
						
						
							| 
								
							 | 
							
								export const MyVipPageList = (params) => http.get('/houserent-admin/common_index/getMyVipPageList', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								// 删除
							 | 
						
						
						
							| 
								
							 | 
							
								export const deleteHouse = (params) => http.get('/houserent-admin/common_index/deleteHouse', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 发表评论
							 | 
						
						
						
							| 
								
							 | 
							
								export const saveComment = (data) => http.post('/houserent-admin/comment/saveComment', data)
							 | 
						
						
						
							| 
								
							 | 
							
								// 发表评论列表
							 | 
						
						
						
							| 
								
							 | 
							
								export const commentPageList = (params) => http.get('/houserent-admin/comment/getCommentPageList', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								// 房源搜索条件-区域
							 | 
						
						
						
							| 
								
							 | 
							
								export const houseArea = (params) => http.get('/houserent-admin/comment/getHouseArea', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								// 房源搜索条件-类型
							 | 
						
						
						
							| 
								
							 | 
							
								export const houseIconClass = (params) => http.get('/houserent-admin/comment/getHouseIconClass', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								// 房源搜索条件-价格
							 | 
						
						
						
							| 
								
							 | 
							
								export const housePrice = (params) => http.get('/houserent-admin/comment/getHousePrice', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								// 房源搜索条件-年限
							 | 
						
						
						
							| 
								
							 | 
							
								export const houseYear = (params) => http.get('/houserent-admin/comment/getHouseYear', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								// 经济人获取账号密码以及邀请码
							 | 
						
						
						
							| 
								
							 | 
							
								export const accountCode = (params) => http.get('/houserent-admin/comment/getAccountCode', {params,params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
								export const getBanner = (params) => http.get('/houserent-admin/common_index/queryBannerList', {params})
							 | 
						
						
						
							| 
								
							 | 
							
								
							 |