perf:首页调用主题接口更换

This commit is contained in:
Xwen
2023-12-20 21:14:55 +08:00
parent 06ced2d544
commit 8f81888784
2 changed files with 10 additions and 3 deletions

View File

@@ -46,3 +46,10 @@ export function del(ids) {
method: "delete",
});
}
export function getHomeDiscuss() {
return request({
url: `/discuss/top`,
method: "get",
});
}