simple2025
0D
V2EX  ›  问与答

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

  •  
  •   simple2025 · Feb 15, 2017 · 2179 views
    This topic created in 3412 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   ·   1172 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 54ms · UTC 17:27 · PVG 01:27 · LAX 10:27 · JFK 13:27
    ♥ Do have faith in what you're doing.