We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
现在是在前端做的,比较蛋疼。。。
考虑到后台做,维护张额外的 TopicRead 表,三列
tid userid lastread
其中tid是主题的id,userid是用户的id,lastread是最后一次打开时该主题的时间。
然后本来topic就有lastupdate记录,如果 lastupdate > lastread ,就说明这个主题是未读的。
The text was updated successfully, but these errors were encountered:
gracece
No branches or pull requests
现在是在前端做的,比较蛋疼。。。
考虑到后台做,维护张额外的 TopicRead 表,三列
tid userid lastread
其中tid是主题的id,userid是用户的id,lastread是最后一次打开时该主题的时间。
然后本来topic就有lastupdate记录,如果 lastupdate > lastread ,就说明这个主题是未读的。
The text was updated successfully, but these errors were encountered: