接口类型修改 瀑布流替换
This commit is contained in:
@@ -2,7 +2,7 @@ import axios from "./axios";
|
||||
|
||||
export default{
|
||||
index:(params={})=>{//首页数据
|
||||
return axios.get('/tenement/pc/api/home',params)
|
||||
return axios.post('/tenement/pc/api/home',params)
|
||||
},
|
||||
getApartment:(params={})=>{//获取首页公寓数据
|
||||
return axios.get('/tenement/pc/api/home/getApartment',params)
|
||||
@@ -20,13 +20,13 @@ export default{
|
||||
return axios.get('/tenement/pc/api/search',params)
|
||||
},
|
||||
getLists:(params={})=>{//获取搜索数据 个人/中介/求房源
|
||||
return axios.post('/tenement/pc/api/lists',params)
|
||||
return axios.get('/tenement/pc/api/lists',params)
|
||||
},
|
||||
apartment:(params={})=>{//获取公寓列表
|
||||
return axios.get('/tenement/pc/api/apartment',params)
|
||||
},
|
||||
details:(params={})=>{//房源详情
|
||||
return axios.post('/tenement/pc/api/details',params)
|
||||
return axios.get('/tenement/pc/api/details',params)
|
||||
},
|
||||
operation:(params={})=>{//收藏/取消收藏
|
||||
return axios.post('/tenement/pc/api/user/operation',params)
|
||||
|
||||
Reference in New Issue
Block a user