Authored by 毕凯

Merge branch 'hotfix/chanpin' into 'release/6.1'

seo保留前12条数据



See merge request !924
... ... @@ -599,7 +599,9 @@ const getSearchKeywordDataById = (id, params, uid) => {
result.queryKey = params.query;
if (!_.isEmpty(redisData.data)) {
_.forEach(redisData.data, value => {
let tdata = _.slice(redisData.data, 0, 12);
_.forEach(tdata, value => {
if (!value) {
return;
}
... ...