Files
ClassContent/历届学生/front-end-team-11/项目开发/上课项目/nodejs博客/backendv2/功能.txt
2024-09-27 02:06:13 +08:00

60 lines
925 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

首页:
查看所有已经发布的文章 (短的缩略)
最近帖子
关于我
朋友
文章标签
分类:
按照 文章分类 展示文章
标签
按照 文章标签 展示文章
搜索
登录 注册 / 头像
1个管理员账户(我自己)
其他账户
token
未登录:不能评论,右上角不显示头像
登录:可以评论,显示头像(默认给个头像)
点击头像 弹窗,修改用户信息(类似google浏览器的账户功能)
顶部导航条显示 管理后台
文章:
可以被评论
[管理后台]
发布评论参数:
直接发评论:
1:article_id
2:user_id 来源:token 里面
3:comment_text
comment_father_id == 0
user_reply_id == 0
4:comment_time 后端生成的 不需要前端传
回复:
comment_father_id == 一级的 comment_id
user_reply_id == 你点回复的那个人的id