Commit d3c412c9 authored by Hsinli's avatar Hsinli

add

parent ac7370ce
Pipeline #5900 passed with stage
in 4 seconds
......@@ -113,7 +113,7 @@ class NewHouseService extends Service {
}
}
//户型信息
let newHouseType = await this.getNewHouseType(id);
let newHouseType = await this.getNewHouseTypeList(id);
//是否关注
let collectionFilter = { type: 1, id: id }
let collection = await service.house.collection.getCollection(collectionFilter);
......@@ -197,7 +197,7 @@ class NewHouseService extends Service {
* 通过NewHouseId获取新房户型信息
* @param {*} id
*/
async getNewHouseType(id) {
async getNewHouseTypeList(id) {
const { ctx, service } = this;
let filter = {
pageIndex: 1,
......@@ -250,6 +250,7 @@ class NewHouseService extends Service {
}
let ret = {
all: {
name: '全部',
results: retList,
count: retList.length
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment