-
Notifications
You must be signed in to change notification settings - Fork 190
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
功能模块的设计 #3
Labels
enhancement
New feature or request
Comments
产品设计产品设计-评论模块的设计1.主题式将评论分为二级,第一级采用时间倒序,二级按照时间正序,有助于理解上下文关系。 用户操作:
运营操作:
优化
排行榜见解排行榜从心理学上分析,主要从四个方面影响着您:寻找权威 、参与比较 、关注主流 、自我确认。 如何设计一个简单的排行榜呢。。 在一个博客随笔中,我们设计一个3天、七天(周榜)、30天(月榜)、全部的榜单。以浏览量(权重1)、点赞量(20)、评论量(30)。权重可自己定义。 1.默认取最新的随笔 前台传create_time时,使用如下sql
2.传排序方式为最近n天的热榜时。 参数:THREE_DAYS_HOTTEST(三天)、WEEKLY_HOTTEST(七天)、MONTHLY_HOTTEST(一个月)、HOTTEST(全部) mysql 查询当前日期时间前三天数据
根据权重查询
创作者中心用户主页
个人设置
更多参考 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
功能模块的设计
基础权限模块
比如存某用户选择的是markdown还是富文本。
或存储七牛云的某一个配置
cms 管理员维护模块
cms 用户端模块
技术频道
分类专栏管理:发布随笔时可选择单个分类。
标签:统计每个标签下多少个文章、多少人关注
随笔
评论
关注
个人主页
设置
消息
脑图分享
http://naotu.baidu.com/file/6532431a2e1f0c37c93c5ffd1dd5b49c?token=87690a9bc64fbae1
分组
分为三种
审计日志
大多数表存在如下8个字段,用于记录行的变化状态,is_deleted为软删除,执行删除操作时,将其状态置为true,默认实体类继承 FullAduitEntity 即可拥有以下8个字段。该设计参考ABP中的实现。FullAduitEntity为泛型,默认id为long类型,FullAduitEntity<Guid>,即可改变主键类型,默认LinUser表主键long,保持create_user_id,delete_user_id,update_user_id都与LinUser的主键相同
lin-cms 开源地址分享
The text was updated successfully, but these errors were encountered: