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
GET
/user/login
直接跳转该路径,授权GitHub登录,成功跳转用户信息页
/user/logout
直接跳转该路径,退出登录,成功跳转到首页
/user/me
查询当前登录用户信息
/user/info/:userId
查询userId的用户信息
userId
POST
/topic/add
发布新的topic。参数:
/topic/:type
type 取值
type
/topic/detail/:id
查询id主题的详情信息,包含 author 用户信息 last_reply 最新回复信息
id
author
last_reply
/reply/list/:topicId
查询topicId主题的回复列表
topicId
/reply/add
发布新的评论。参数:
The text was updated successfully, but these errors were encountered:
manyuanrong
No branches or pull requests
登录
GET
/user/login
直接跳转该路径,授权GitHub登录,成功跳转用户信息页
退出登录
GET
/user/logout
直接跳转该路径,退出登录,成功跳转到首页
登录用户信息
GET
/user/me
查询当前登录用户信息
查询用户信息
GET
/user/info/:userId
查询
userId
的用户信息发表主题接口
POST
/topic/add
发布新的topic。参数:
主题列表
GET
/topic/:type
type
取值主题详情
GET
/topic/detail/:id
查询
id
主题的详情信息,包含author
用户信息last_reply
最新回复信息回复列表接口
GET
/reply/list/:topicId
查询
topicId
主题的回复列表发表回复接口
POST
/reply/add
发布新的评论。参数:
The text was updated successfully, but these errors were encountered: