在django的drf中序列化好友列表

本文中討論的好友列表模型設計以下:前端 user_id = models.ForeignKey(ChatUserInfo, to_field="chat_id", on_delete=models.DO_NOTHING, db_index=True, help_text="聊天用戶id") friend_id = models.ForeignKey(ChatUserInfo, to_field
相關文章
相關標籤/搜索