新讨论测试

This commit is contained in:
A1300399510
2025-02-17 19:01:20 +08:00
parent 6af52632ba
commit 740ec94346
5 changed files with 276 additions and 24 deletions

View File

@@ -1,4 +1,4 @@
import Http from "@/utils/http";
import Http from "@/utils/http"
// 投票, 数据列表 - 列表
export const getListHttp = params => {
return Http.post("/api/lists", params)
@@ -29,6 +29,11 @@ export const detailsSubmitommentListHttp = query => {
return Http.post("/api/comment/submit", query)
}
// 详情数据 - 提交评论
export const commentsEditSubmit = query => {
return Http.post("/api/comment/commentsEditSubmit", query)
}
// 发布相关 - 发布问题初始化,编辑
export const publishInitHttp = query => {
return Http.post("/api/publish", query)
@@ -122,4 +127,4 @@ export const commonUploadHttp = query => {
// 评论相关 - 删除评论
export const commentDeleteHttp = query => {
return Http.post("/api/comment/commentDelete", query)
}
}