Commit 1772a1b6 authored by Hsinli's avatar Hsinli

add time

parent 6430f8bf
Pipeline #8951 passed with stage
in 4 seconds
...@@ -46,11 +46,11 @@ class HotQuestionPutService extends Service { ...@@ -46,11 +46,11 @@ class HotQuestionPutService extends Service {
} }
if (condition.key_word) {//关键词搜索 模糊查询 if (condition.key_word) {//关键词搜索 模糊查询
//增加搜索历史 //增加搜索历史
// let addHistory = { let addHistory = {
// type: 1, type: 3,
// key_word: condition.name key_word: condition.key_word
// }; };
// await ctx.service.house.v2.searchHistory.addSearchHistory(addHistory); await ctx.service.house.v2.searchHistory.addSearchHistory(addHistory);
filter.where.question = { $like: '%' + condition.key_word + '%' } filter.where.question = { $like: '%' + condition.key_word + '%' }
} }
let res = await ctx.realestateModel.HotQuestionPut.list(filter); let res = await ctx.realestateModel.HotQuestionPut.list(filter);
......
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