Commit 3c9b4461 authored by 高雅喆's avatar 高雅喆

更新新用户的轻医美标签词

parent 6829f21a
...@@ -110,8 +110,7 @@ if __name__ == '__main__': ...@@ -110,8 +110,7 @@ if __name__ == '__main__':
hot_search_words_portrait_dict = {i["keywords"]: 0.2 for i in hot_search_words} hot_search_words_portrait_dict = {i["keywords"]: 0.2 for i in hot_search_words}
redis_client.hmset(hot_search_words_portrait_portrait_key2, hot_search_words_portrait_dict) redis_client.hmset(hot_search_words_portrait_portrait_key2, hot_search_words_portrait_dict)
hot_search_words = ["明星整形", "明星抗衰", "明星颜值", "明星婚恋", "网红整形", "网红抗衰", "网红颜值", "网红婚恋", "审美", "双眼皮", "牙齿矫正", "水光针", hot_search_words = ["双眼皮", "牙齿矫正", "水光针", "玻尿酸", "小气泡", "隆鼻", "明星整形", "明星抗衰", "明星颜值", "明星婚恋", "网红整形", "网红抗衰", "网红颜值", "网红婚恋", "审美"]
"玻尿酸", "小气泡", "隆鼻"]
hot_search_words_portrait_portrait_key3 = "user:service_coldstart_tags3" hot_search_words_portrait_portrait_key3 = "user:service_coldstart_tags3"
hot_search_words_portrait3_dict = {i: 0.2 for i in hot_search_words} hot_search_words_portrait3_dict = {i: 0.2 for i in hot_search_words}
redis_client.hmset(hot_search_words_portrait_portrait_key3, hot_search_words_portrait3_dict) redis_client.hmset(hot_search_words_portrait_portrait_key3, hot_search_words_portrait3_dict)
......
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