feat: 🎸 对接了一些接口

This commit is contained in:
2025-08-22 10:32:57 +08:00
parent 145b39b5c7
commit d0075937e1
11 changed files with 141 additions and 95 deletions

View File

@@ -27,7 +27,7 @@ const ProfileCard = () => {
<li className="profile-card-achievement-info-item">
<span className="profile-card-achievement-info-item-title">学分</span>
<span className="profile-card-achievement-info-item-text">
{studentInfo?.totalCredits || 0}
{studentInfo?.myRank?.score || "-"}
</span>
</li>
<li className="profile-card-achievement-info-item">
@@ -35,7 +35,7 @@ const ProfileCard = () => {
班级排名
</span>
<span className="profile-card-achievement-info-item-text">
{studentInfo?.badges?.classRank || "-"}
{studentInfo?.myRank?.rank || "-"}
</span>
</li>
<li className="profile-card-achievement-info-item">