调整界面

This commit is contained in:
huangdeliang
2021-05-31 10:52:30 +08:00
parent b31aafc6e4
commit 7e3311ad64
9 changed files with 184 additions and 25 deletions

View File

@ -0,0 +1,33 @@
import request from "@/utils/request";
export function fetchTopicList(query) {
return request({
url: "/services/topic/list",
method: "get",
params: query
});
}
export function fetchTopicDetail(query) {
return request({
url: "/services/topic/detail",
method: "get",
params: query
});
}
export function postTopicReply(data) {
return request({
url: "/services/topic/reply",
method: "post",
body: data
});
}
export function postTopicComment(data) {
return request({
url: "/services/topic/comment",
method: "post",
body: data
});
}