Commit f00fc303 authored by 高雅喆's avatar 高雅喆

update

parent e4165f76
......@@ -132,6 +132,7 @@ def get_user_service_portrait(cl_id, all_word_tags, all_tag_tag_type, all_3tag_2
gmkv_tag_score2_sum_dict.update({tag_id: hot_search_words[tag_id]})
if len(gmkv_tag_score2_sum_dict) > 3:
break
redis_client.delete(cl_id_portrait_key2)
redis_client.hmset(cl_id_portrait_key2, gmkv_tag_score2_sum_dict)
redis_client.expire(cl_id_portrait_key2, time=30 * 24 * 60 * 60)
......
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