Commit 411f062b authored by Hsinli's avatar Hsinli

addd

parent af8a820e
Pipeline #9903 passed with stage
in 4 seconds
......@@ -48,11 +48,8 @@ class searchHistoryService extends Service {
}
};
//不管有没有登录获取城市相关的热门搜索
let hotList = await ctx.service.house.v2.hotSearch.getHotSearch(condition);
ret.hot_search = {
results: hotList,
count: hotList.length
}
ret.hot_search.results = await ctx.service.house.v2.hotSearch.getHotSearch(condition);
if (!ctx.appUserId || !ctx.userId) {
//如果没有登录就返回
return ret;
......
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