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 {
}
if (condition.key_word) {//关键词搜索 模糊查询
//增加搜索历史
// let addHistory = {
// type: 1,
// key_word: condition.name
// };
// await ctx.service.house.v2.searchHistory.addSearchHistory(addHistory);
let addHistory = {
type: 3,
key_word: condition.key_word
};
await ctx.service.house.v2.searchHistory.addSearchHistory(addHistory);
filter.where.question = { $like: '%' + condition.key_word + '%' }
}
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