simple2025
0D
V2EX  ›  问与答

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

  •  
  •   simple2025 · Feb 15, 2017 · 2241 views
    This topic created in 3441 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   ·   2781 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: ce1cc7fc · 36ms · UTC 07:11 · PVG 15:11 · LAX 00:11 · JFK 03:11
    ♥ Do have faith in what you're doing.