commit | ed9f2f96c966cfc47122d09862337fe3f909b051 | [log] [tgz] |
---|---|---|
author | BirdNETM <22301113@bjtu.edu.cn> | Mon May 26 20:12:30 2025 +0800 |
committer | BirdNETM <22301113@bjtu.edu.cn> | Mon May 26 20:12:30 2025 +0800 |
tree | d8b6625c0c6b6d3c2fe1e4efe2ac54dd2f41035e | |
parent | 809941d3f3b8f57b8b77e690392b9c1696fc4420 [diff] [blame] |
评论界面与后端连接完成 Change-Id: Id7d3f293b964c82533095f020d9720a43422ea68
diff --git a/react-ui/src/pages/Torrent/Comments/service.ts b/react-ui/src/pages/Torrent/Comments/service.ts index f4243b6..1ea221a 100644 --- a/react-ui/src/pages/Torrent/Comments/service.ts +++ b/react-ui/src/pages/Torrent/Comments/service.ts
@@ -3,9 +3,8 @@ /** 获取种子评论列表 */ export async function listComments(torrentId: number) { - return request<SysTorrentComment[]>(`/api/system/torrent/comment/list`, { + return request<SysTorrentComment[]>(`/api/system/torrent/comment/${torrentId}`, { method: 'get', - params: { torrentId }, }); }