Commit 12b9ca9c authored by lixiaofang's avatar lixiaofang

add

parent cdeb24fe
This diff is collapsed.
...@@ -367,7 +367,9 @@ for old_item in result_dict["hits"]: ...@@ -367,7 +367,9 @@ for old_item in result_dict["hits"]:
print(new_source["tag_list"]) print(new_source["tag_list"])
print("-----tag_list-----") print("-----tag_list-----")
if old_source["useful_tag_list"] != new_source["useful_tag_list"]: for i in old_source["useful_tag_list"]:
if i not in new_source["useful_tag_list"]:
print(i)
print(old_source["useful_tag_list"]) print(old_source["useful_tag_list"])
print(new_source["useful_tag_list"]) print(new_source["useful_tag_list"])
print("-----useful_tag_list-----") print("-----useful_tag_list-----")
...@@ -397,7 +399,10 @@ for old_item in result_dict["hits"]: ...@@ -397,7 +399,10 @@ for old_item in result_dict["hits"]:
print(new_source["latest_topic_time_val"]) print(new_source["latest_topic_time_val"])
print("-----latest_topic_time_val-----") print("-----latest_topic_time_val-----")
if old_source["attention_user_id_list"] != new_source["attention_user_id_list"]: for item in old_source["attention_user_id_list"]:
if item not in new_source["attention_user_id_list"]:
print(item)
print(old_source["attention_user_id_list"]) print(old_source["attention_user_id_list"])
print(new_source["attention_user_id_list"]) print(new_source["attention_user_id_list"])
print("-----attention_user_id_list-----") print("-----attention_user_id_list-----")
...@@ -407,12 +412,16 @@ for old_item in result_dict["hits"]: ...@@ -407,12 +412,16 @@ for old_item in result_dict["hits"]:
print(new_source["pick_user_id_list"]) print(new_source["pick_user_id_list"])
print("-----pick_user_id_list-----") print("-----pick_user_id_list-----")
if old_source["same_pictorial_user_id_list"] != new_source["same_pictorial_user_id_list"]: for item in old_source["same_pictorial_user_id_list"]:
if item not in new_source["same_pictorial_user_id_list"]:
print(item)
print(old_source["same_pictorial_user_id_list"]) print(old_source["same_pictorial_user_id_list"])
print(new_source["same_pictorial_user_id_list"]) print(new_source["same_pictorial_user_id_list"])
print("-----same_pictorial_user_id_list-----") print("-----same_pictorial_user_id_list-----")
if old_source["attention_pictorial_id_list"] != new_source["attention_pictorial_id_list"]: for item in old_source["attention_pictorial_id_list"]:
if item not in new_source["attention_pictorial_id_list"]:
print(old_source["attention_pictorial_id_list"]) print(old_source["attention_pictorial_id_list"])
print(new_source["attention_pictorial_id_list"]) print(new_source["attention_pictorial_id_list"])
print("-----attention_pictorial_id_list-----") print("-----attention_pictorial_id_list-----")
......
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