Commit 192a29a0 authored by Hsinli's avatar Hsinli

add corner

parent 36cc7532
Pipeline #6611 passed with stage
in 3 seconds
...@@ -200,6 +200,7 @@ class CollectionService extends Service { ...@@ -200,6 +200,7 @@ class CollectionService extends Service {
area: type === 1 ? retList[j].houseArea : '', area: type === 1 ? retList[j].houseArea : '',
price: type === 1 ? retList[j].referenceAvgPrice : retList[j].price, price: type === 1 ? retList[j].referenceAvgPrice : retList[j].price,
type: type === 1 ? 'new_house' : 'rental_house', type: type === 1 ? 'new_house' : 'rental_house',
corner: type === 1 ? retList[j].cornerMarker : '',
}; };
list.push(tmp); list.push(tmp);
} }
......
...@@ -469,6 +469,7 @@ class NewHouseService extends Service { ...@@ -469,6 +469,7 @@ class NewHouseService extends Service {
tags: newHouseList.results[i].tags ? eval(newHouseList.results[i].tags) : [], tags: newHouseList.results[i].tags ? eval(newHouseList.results[i].tags) : [],
image: newHouseList.results[i].image, image: newHouseList.results[i].image,
price: newHouseList.results[i].referenceAvgPrice, price: newHouseList.results[i].referenceAvgPrice,
corner: newHouseList.results[i].cornerMarker,
}; };
list.push(tmp); list.push(tmp);
} }
......
...@@ -128,6 +128,7 @@ class OrderService extends Service { ...@@ -128,6 +128,7 @@ class OrderService extends Service {
price: type === 1 ? retList[j].referenceAvgPrice : retList[j].price, price: type === 1 ? retList[j].referenceAvgPrice : retList[j].price,
time: moment().format('YYYY-MM-DD') === moment(orderList.results[j].orderAt).format('YYYY-MM-DD') ? '今天' : moment(orderList.results[j].orderAt).format('YYYY-MM-DD'), time: moment().format('YYYY-MM-DD') === moment(orderList.results[j].orderAt).format('YYYY-MM-DD') ? '今天' : moment(orderList.results[j].orderAt).format('YYYY-MM-DD'),
type: type === 1 ? 'new_house' : 'rental_house', type: type === 1 ? 'new_house' : 'rental_house',
corner: type === 1 ? retList[j].cornerMarker : '',
}; };
list.push(tmp); list.push(tmp);
} }
......
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