Commit 02a2bfed authored by Hsinli's avatar Hsinli

addd

parent a906d7bd
Pipeline #8888 passed with stage
in 4 seconds
......@@ -371,9 +371,10 @@ class NewHouseService extends Service {
// if (condition.area && condition.area.hasOwnProperty('min') && condition.area.hasOwnProperty('max')) {
// filter.where.area = { $between: [condition.area.min, condition.area.max] };
// }
if (condition.house_type) {//户型
filter.where.type = condition.house_type;
}
//户型 TODO
// if (condition.house_type) {
// filter.where.type = condition.house_type;
// }
if (condition.name) {//关键词搜索 模糊查询
//增加搜索历史
let addHistory = {
......
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