simple2025
0D
V2EX  ›  问与答

知乎的评论功能是怎么设计的呢?

  •  
  •   simple2025 · Feb 15, 2017 · 2441 views
    This topic created in 3567 days ago, the information mentioned may be changed or developed.

    我的猜想是

    1. 主题表 (主题表 id,主题表 title,主题表 content,主题表时间)

    2. 回复表(回复表 id,主题表 id,回复内容 content)

    3. 评论表(评论表 id,主题表 id,回复表 id,评论表 content,回复的用户)

    这样子可行吗?

    1 replies  •  2017-02-15 13:19:10 +08:00
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   953 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 19:03 · PVG 03:03 · LAX 11:03 · JFK 14:03
    ♥ Do have faith in what you're doing.