[-] Verse: Give up on rec rating

pull/124/head
Azalea 2025-03-09 11:37:14 -04:00
parent 44f62e8f54
commit 5816f5dffb
1 changed files with 6 additions and 2 deletions

View File

@ -59,13 +59,17 @@ fun ChusanController.chusanInit() {
// musicId cannot be the same with the id in recMusicList
val u = db.userData.findByCard_ExtId(uid)() ?: return@paged empty
val list = (chusan.recommendedMusic[u.id] ?: ls()).filter { it != 1 }
if (list.isEmpty()) empty
else ls(mapOf("musicId" to 1, "recMusicList" to list.joinToString(";") { "$it,1" }))
}
"GetUserRecRating".paged("userRecRatingList") {
// ratingMin: int, ratingMax: int, recMusicList: string???
// ratingMin: int, ratingMax: int, recMusicList: string
// This doesn't work
// listOf(
// mapOf("ratingMin" to 0, "ratingMax" to 30, "recMusicList" to "2387,1;2658,1")
// )
empty
}
// VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE