diff --git a/src/views/homepage/homepage.tsx b/src/views/homepage/homepage.tsx
index ec74187..165ed67 100644
--- a/src/views/homepage/homepage.tsx
+++ b/src/views/homepage/homepage.tsx
@@ -4,7 +4,7 @@
 import { useSelector } from 'react-redux';
 import { RootState } from '@/store';
 import { useNavigate } from 'react-router';
-import logo from '&/assets/logo.png';
+import  Logo  from '&/assets/logo.png';
 import { getUserMessage } from '@/api/homepage'
 import { getUserDetail } from '@/api/homepage'
 import request from '@/utils/request'
@@ -64,7 +64,19 @@
     try{
       const res = await  getUserDetailRefresh({userId});
       console.log("res", res);
-      setUserStats(res);
+      const data = res?.userInfo;
+
+      const formatted: UserStats = {
+      username: data.username,
+      uploadAmount: data.uploadAmount,
+      level: data.level,
+      likes: data.likes,
+      following: data.following,
+      followers: data.followers,
+      mutualFollows: data.mutualFollows
+      };
+
+      setUserStats(formatted);
     }catch(error){
       console.error('获取用户信息错误', error);
     }
@@ -73,6 +85,10 @@
 
   const getUserPost = debounce(async () => {
     try{
+
+      const url = `${getUserMessage}?userId=${userId}`;
+      console.log("请求发送:", url);
+
       const res = await getUserMessageRefresh({userId});
       console.log("res", res);
       worksRef.current = res;
@@ -110,8 +126,8 @@
               className={styles.userAvatar}
             />
             <div className={styles.userInfo}>
-              <h2 className={styles.username}>阳菜，放睛！</h2>
-              <div className={styles.inviteCode}>邀请码：1314520</div>
+              <h2 className={styles.username}>{userStats?.username}</h2>
+              <div className={styles.inviteCode}>邀请码：123456</div>
               <button className={styles.editButton}>编辑主页</button>
             </div>
           </div>
@@ -169,7 +185,7 @@
             <h3 className={styles.sectionTitle}>宠物图</h3>
             <div className={styles.petContainer}>
               <img 
-                src="/assets/pet-blue-star.png" 
+                src={Logo}
                 alt="蓝色星星宠物" 
                 className={styles.petImage}
               />
