forked from Cookies_Github_mirror/AquaDX
[+] Implement GetUserRecommendSelectMusic
This commit is contained in:
@@ -172,14 +172,6 @@ fun Maimai2ServletController.initApis() {
|
||||
}
|
||||
|
||||
// Empty List Handlers
|
||||
"GetUserRecommendRateMusic" { mapOf(
|
||||
"userId" to uid,
|
||||
"userRecommendRateMusicIdList" to empty
|
||||
) }
|
||||
"GetUserRecommendSelectMusic" { mapOf(
|
||||
"userId" to uid,
|
||||
"userRecommendSelectionMusicIdList" to empty
|
||||
) }
|
||||
"GetUserRegion".unpaged { empty }
|
||||
"GetUserGhost".unpaged { empty }
|
||||
"GetUserFriendBonus" { mapOf("userId" to uid, "returnCode" to 0, "getMiles" to 0) }
|
||||
@@ -270,4 +262,15 @@ fun Maimai2ServletController.initApis() {
|
||||
"scoreData" to ""
|
||||
)
|
||||
) }
|
||||
|
||||
// Recommendation
|
||||
"GetUserRecommendRateMusic" { mapOf(
|
||||
"userId" to uid,
|
||||
"userRecommendRateMusicIdList" to empty // TODO
|
||||
) }
|
||||
|
||||
"GetUserRecommendSelectMusic" { mapOf(
|
||||
"userId" to uid,
|
||||
"userRecommendSelectionMusicIdList" to (net.recommendedMusic[uid] ?: empty)
|
||||
) }
|
||||
}
|
||||
Reference in New Issue
Block a user