评论连接优化,新增私信页面,等私信后端写完

Change-Id: I63c05945c47be9bcba6113ddd299058f302cb927
diff --git a/react-ui/src/pages/Torrent/Comments/data.d.ts b/react-ui/src/pages/Torrent/Comments/data.d.ts
index 1f3347b..bc9e517 100644
--- a/react-ui/src/pages/Torrent/Comments/data.d.ts
+++ b/react-ui/src/pages/Torrent/Comments/data.d.ts
@@ -1,5 +1,6 @@
 /** 种子评论表 */
 export interface SysTorrentComment {
+    userId: string;
     /** 评论ID */
     commentId: number;
     /** 种子ID */
diff --git a/react-ui/src/pages/Torrent/Comments/index.tsx b/react-ui/src/pages/Torrent/Comments/index.tsx
index 58167f7..05c5165 100644
--- a/react-ui/src/pages/Torrent/Comments/index.tsx
+++ b/react-ui/src/pages/Torrent/Comments/index.tsx
@@ -11,6 +11,7 @@
 
 interface CommentItem {
     id: number;
+    name: string;
     content: string;
     createTime: string;
     createBy: string;
@@ -93,6 +94,7 @@
             if (res) {
                 const formattedComments: SysTorrentComment[] = res.data.map((comment: SysTorrentComment) => ({
                     id: comment.commentId ?? 0,
+                    name: comment.userName ?? '匿名用户',
                     content: comment.content ?? '无内容',
                     createTime: comment.createTime || '',
                     createBy: getUserDisplayName(comment.userId),