Browse Source

增加了用户点赞表

master
邓淳远 4 years ago
parent
commit
a8eebba0ef
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      APP/view/model.py

+ 11
- 0
APP/view/model.py View File

@ -51,3 +51,14 @@ class CollectionBlock(Base):
self.id = id
self.block_id = block_id
class UserLike(Base):
__tablename__ = 'user_like'
phonenum = Column(String(255), primary_key=True)
collection_id = Column(String(255), primary_key=True)
def __init__(self, phonenum=None, collection_id=None):
self.phonenum = phonenum
self.collection_id = collection_id

Loading…
Cancel
Save