Browse Source

final+

master
wengsy 4 years ago
parent
commit
d16f058871
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      APP/view/collection.py

+ 1
- 1
APP/view/collection.py View File

@ -77,7 +77,7 @@ def recommand_collection():
""" """
try: try:
row0 = db_session.query(Collection).join(UserLike, UserLike.collection_id == Collection.id).filter( row0 = db_session.query(Collection).join(UserLike, UserLike.collection_id == Collection.id).filter(
UserLike.phonenum == phonenum).all()
UserLike.phonenum == phonenum).order_by(order).all()
# 构建用户tag字典 # 构建用户tag字典
user_like = {} user_like = {}
for collection in row0: for collection in row0:

Loading…
Cancel
Save