simple2025
0D
V2EX  ›  问与答

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

  •  
  •   simple2025 · Feb 15, 2017 · 2198 views
    This topic created in 3421 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
    taozle
        1
    taozle  
       Feb 15, 2017
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3005 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 14:36 · PVG 22:36 · LAX 07:36 · JFK 10:36
    ♥ Do have faith in what you're doing.