Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文章排序和多说评论框优化 #1

Closed
waltye opened this issue Jun 23, 2015 · 0 comments
Closed

文章排序和多说评论框优化 #1

waltye opened this issue Jun 23, 2015 · 0 comments

Comments

@waltye
Copy link
Owner

waltye commented Jun 23, 2015

  • 当前情况:文章排序和多说评论需要的文章唯一id,我都是按照文件的create time(时间戳格式)来进行排序.
  • 存在问题:如果文章被修改并提交,那么这个时间会有变化,会导致它排序重新上到第一位,并且多说评论会认为是一篇新文章。
  • 我的思路:
    • 第一次文章被提交之后,把该文章信息缓存(或者建立一个文章信息文件更好?)下来,这样,就确立了一个永久的文章id和发表时间,问题就解决了。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant