Commit b68032a7 authored by 黄凯's avatar 黄凯

Merge branch 'hk' into 'test'

update

See merge request alpha/physical!316
parents 754ba493 15db5352
...@@ -100,7 +100,7 @@ def get_home_recommend_topic_ids(user_id, device_id, tag_id, offset, size, query ...@@ -100,7 +100,7 @@ def get_home_recommend_topic_ids(user_id, device_id, tag_id, offset, size, query
recommend_topic_user_list = list() recommend_topic_user_list = list()
if b"datadict" in recommend_topic_dict: if b"datadict" in recommend_topic_dict:
recommend_topic_id_dict = json.loads(recommend_topic_dict[b"datadict"]) recommend_topic_id_dict = json.loads(recommend_topic_dict[b"datadict"])
if len(recommend_topic_list) == 6: if len(recommend_topic_list) == 6 and recommend_topic_id_dict is not None:
for i in recommend_topic_list: for i in recommend_topic_list:
recommend_topic_user_list.append(recommend_topic_id_dict[str(i)]) recommend_topic_user_list.append(recommend_topic_id_dict[str(i)])
# 用户关注标签 # 用户关注标签
......
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