simple2025
0D
V2EX  ›  问与答

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

  •  
  •   simple2025 · Feb 15, 2017 · 2265 views
    This topic created in 3457 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   ·   1123 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 23:23 · PVG 07:23 · LAX 16:23 · JFK 19:23
    ♥ Do have faith in what you're doing.