競賽資訊完整版 ( 只剩評分、競賽得獎 )
This commit is contained in:
@@ -77,8 +77,8 @@ export async function GET(request: NextRequest, { params }: { params: { id: stri
|
||||
likes_count: app.likes_count || 0,
|
||||
views_count: app.views_count || 0,
|
||||
rating: Math.round(avgRating * 10) / 10, // 四捨五入到小數點後一位
|
||||
creator_name: "未知作者",
|
||||
creator_department: "未知部門",
|
||||
creator_name: app.creator_name || "未知作者",
|
||||
creator_department: app.creator_department || "未知部門",
|
||||
team_name: team.name,
|
||||
created_at: app.created_at
|
||||
};
|
||||
|
Reference in New Issue
Block a user