Commit 1ba3ca1e authored by 李尚科's avatar 李尚科

house v2 ordr fix

parent c449756a
Pipeline #9785 passed with stage
in 7 seconds
...@@ -31,6 +31,8 @@ class RentalHouseService extends Service { ...@@ -31,6 +31,8 @@ class RentalHouseService extends Service {
where.developer_id = brand; where.developer_id = brand;
} }
if (name) { if (name) {
//增加搜索历史
ctx.service.house.v2.searchHistory.addSearchHistory({ type: 2, key_word: name });
where.name = { $like: `%${name}%` }; where.name = { $like: `%${name}%` };
} }
if (price && price.max) { if (price && price.max) {
......
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