第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:14:48 +08:00
commit 1b923e5cff
1030 changed files with 128016 additions and 0 deletions

28
api/house-info.js Normal file
View File

@@ -0,0 +1,28 @@
import http from './index.js';
// 分页查询房源信息
export const pageHouseInfo = (params) => http.get('/house/info/page', {params})
// 查询全部房源信息
export const listHouseInfo = (params) => http.get('/house/info', {params})
// 查询房源信息(当期登录用户)
export const getHouseInfo = (userId) => http.get('/house/info/' + userId)
// 查询会员资料
export const getUserDetail = (userId) => http.get('/house/info/detail/' + userId)
// 新增房源信息
export const addHouseInfo = (data) => http.post('/house/info', data)
// 删除房源信息
export const removeHouseInfo = (id) => http.get('/house/info/remove/' + id)
export default {
pageHouseInfo,
listHouseInfo,
getHouseInfo,
getUserDetail,
removeHouseInfo,
addHouseInfo
}