Authored by yyq

Merge branch 'feature/recList2.0' of git.yoho.cn:fe/yohobuywap-node into feature/recList2.0

... ... @@ -563,7 +563,7 @@ const getSearchKeywordDataById = (id, params, uid) => {
Object.assign(value, {
name: value.keyword,
href: helpers.urlFormat(`/canpin/${value.id}.html`, null)
link: helpers.urlFormat(`/canpin/${value.id}.html`, null)
});
});
... ...
... ... @@ -136,7 +136,7 @@ router.get('/search/index', search.index);
// 推广落地页
router.get('/search/keyword/:query', rewrite.sortParams, search.keyword);
router.get('/search/chanpin/:id', rewrite.sortParams, search.keyword);
router.get('/search/chanpin/:id', rewrite.sortParams, search.keyId);
// 搜索落地页
router.get('/search/list', rewrite.sortParams, search.list);
... ...
... ... @@ -12,7 +12,7 @@ try {
bluebird.promisifyAll(redis.Multi.prototype);
client.all = args => {
if (!client.connected) {
if (!client.ready) {
if (Array.isArray(args)) {
return Promise.resolve(_.fill(args, false));
} else {
... ...