mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-07 21:57:26 +08:00
[F] Fix recommend select music
This commit is contained in:
@@ -269,8 +269,11 @@ fun Maimai2ServletController.initApis() {
|
|||||||
"userRecommendRateMusicIdList" to empty // TODO
|
"userRecommendRateMusicIdList" to empty // TODO
|
||||||
) }
|
) }
|
||||||
|
|
||||||
"GetUserRecommendSelectMusic" { mapOf(
|
"GetUserRecommendSelectMusic" {
|
||||||
"userId" to uid,
|
val user = db.userData.findByCard_ExtId(uid)() ?: (404 - "User not found")
|
||||||
"userRecommendSelectionMusicIdList" to (net.recommendedMusic[uid] ?: empty)
|
mapOf(
|
||||||
) }
|
"userId" to uid,
|
||||||
|
"userRecommendSelectionMusicIdList" to (net.recommendedMusic[user.id] ?: empty)
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user