Commit df4bbe56 authored by 段英荣's avatar 段英荣

Merge branch 'similar_sort' into 'master'

modify linucb

See merge request !139
parents 1a20ba61 e3dd6594
......@@ -109,7 +109,7 @@ class CollectData(object):
# 更新该用户的推荐tag数据,放在 更新完成user tag行为信息之后
self.update_recommend_tag_list(device_id, user_feature)
elif "type" in raw_val_dict and "page_precise_exposure"==raw_val_dict["type"]:
exposure_cards_list = raw_val_dict["params"]["exposure_cards"]
exposure_cards_list = json.loads(raw_val_dict["params"]["exposure_cards"])
device_id = raw_val_dict["device"]["device_id"]
for item in exposure_cards_list:
exposure_topic_id = item["card_id"]
......
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