添加新手指南

Change-Id: Ida2104eac0c377b3a9ffdafa2c99d9fdafba6fec
diff --git a/src/pages/Forum/posts-create/CreatePostPage.jsx b/src/pages/Forum/posts-create/CreatePostPage.jsx
index 28f1a20..5d8e0f2 100644
--- a/src/pages/Forum/posts-create/CreatePostPage.jsx
+++ b/src/pages/Forum/posts-create/CreatePostPage.jsx
@@ -14,7 +14,7 @@
 
   return (
     <div className="create-post-page">
-      <CreatePost userId={user.user_id} />
+      <CreatePost userId={user.userId} />
     </div>
   );
 };
diff --git a/src/pages/Forum/posts-main/components/PostList.jsx b/src/pages/Forum/posts-main/components/PostList.jsx
index 533e726..d5ff736 100644
--- a/src/pages/Forum/posts-main/components/PostList.jsx
+++ b/src/pages/Forum/posts-main/components/PostList.jsx
@@ -177,17 +177,20 @@
                   <div className="post-meta">
                     <span>发布时间:{timeText}</span>
                     <div className="post-actions">
-                      <button className="icon-btn" onClick={() => toggleLike(post.postNo, post.liked, post.user_id)}>
+                      <button className="icon-btn" onClick={() => toggleLike(post.postNo, post.liked,user.userId
+)}>
                         <GoodTwo theme="outline" size="24" fill={post.liked ? '#f00' : '#fff'} />
                         <span>{post.likeCount}</span>
                       </button>
-                      <button className="icon-btn" onClick={() => toggleCollect(post.postNo, post.collected, post.user_id)}>
+                      <button className="icon-btn" onClick={() => toggleCollect(post.postNo, post.collected, user.userId
+)}>
                         <Star theme="outline" size="24" fill={post.collected ? '#ffd700' : '#fff'} />
                         <span>{post.collectCount}</span>
                       </button>
 
                       {canDelete && (
-                        <button className="icon-btn" onClick={() => handleDeletePost(post.postNo, post.user_id)}>
+                        <button className="icon-btn" onClick={() => handleDeletePost(post.postNo, user.userId
+)}>
                           <Delete theme="outline" size="24" fill="#333" />
                         </button>
                       )}