Authored by 郝肖肖

'保留前12个数据'

... ... @@ -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;
}
... ...