feat:增加讨论发帖

This commit is contained in:
wyx
2023-02-10 10:51:55 +08:00
parent be37687a26
commit 4843b91109
3 changed files with 104 additions and 20 deletions

View File

@@ -90,3 +90,18 @@ export const PointList = `/stu/project/rank_list/point_list`
// 根据ID获取测评信息详情
export const QueryEvaluationDetailById = evaluationId => `/evaluation/queryEvaluationDetailById?evaluationId=${evaluationId} post`
// 发表帖子
export const PostAdd = `/statement/add post`
// 帖子收藏
export const PostCollection = `/statement/collection post`
// 帖子删除
export const PostDelete = postId => `/statement/delete/?id=${postId} post`
// 查询讨论下的帖子
export const PostList = `/statement/list`
// 贴子点赞
export const PostPraise = `/statement/praise post`
// 帖子更新
export const PostUpdate = `/statement/update post`