Commit 87739eca authored by Hsinli's avatar Hsinli

addd

parent e1e78b63
Pipeline #19674 passed with stage
in 2 seconds
......@@ -41,7 +41,7 @@ class PresellHouseService extends Service {
}
if (ret.list.length > 0) {
for (let i in ret.list) {
ret.list[i].market = moment(ret.list[i].market).format('YYYY-MM-DD');
ret.list[i].market_time = moment(ret.list[i].market_time).format('YYYY-MM-DD');
}
}
return ret;
......
......@@ -9,11 +9,14 @@ class PresellSearchHistoryService extends Service {
/**
* 添加搜索历史
* @param {object} inputParams
* @param {string} keyWord
*/
async addSearchHistory(keyWord) {
const { ctx } = this;
ctx.logger.info(1111);
if (!ctx.appUserId || !ctx.userId) {
ctx.logger.info(2222);
//如果没有登录就不做处理
return false;
}
......
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