Commit a944ee24 authored by litaolemo's avatar litaolemo

update

parent 8bd2e2c8
......@@ -130,7 +130,6 @@ tags_v3_count_dict = {'颧骨修复': 38, '焕肤美白': 2, '玻尿酸垫下巴
print(second_demands_count_dict,tags_v3_count_dict)
time.sleep(10)
user_portrait_scan = user_portrait_scan_info()
for redis_count,spark_res in enumerate(sql_res):
# if redis_count >= 50:break
second_demands = []
......@@ -138,8 +137,9 @@ for redis_count,spark_res in enumerate(sql_res):
total_answer_content_num = 0
total_tractate_content_num = 0
total_diary_content_num = 0
# print(sql_res)
try:
res = get_user_portrait_tag3_from_redis(spark_res.device_id)
res = get_user_portrait_tag3_from_redis(spark_res.first_device)
except:
continue
if res.get("second_demands"):
......
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