推荐系统完成
Change-Id: I244590be01b1b4f37664a0e7f3103827e607ffbe
diff --git a/react-ui/src/pages/Torrent/service.ts b/react-ui/src/pages/Torrent/service.ts
index e526151..35d2312 100644
--- a/react-ui/src/pages/Torrent/service.ts
+++ b/react-ui/src/pages/Torrent/service.ts
@@ -19,10 +19,9 @@
// ================================
/** 查询种子列表 */
-export async function listBtTorrent(params?: Partial<BtTorrent>) {
- const queryString = params ? `?${new URLSearchParams(params as any)}` : '';
- return request(`/api/system/torrent/list${queryString}`, {
- method: 'get',
+export async function listBtTorrent(userId: string) {
+ return request(`/api/system/torrent/recommend`, {
+ method: 'post',
});
}