mirror of https://github.com/hykilpikonna/AquaDX
[-] Verse: Give up on rec rating
parent
dc7f8e990b
commit
43a54be20e
|
@ -59,13 +59,17 @@ fun ChusanController.chusanInit() {
|
||||||
// musicId cannot be the same with the id in recMusicList
|
// musicId cannot be the same with the id in recMusicList
|
||||||
val u = db.userData.findByCard_ExtId(uid)() ?: return@paged empty
|
val u = db.userData.findByCard_ExtId(uid)() ?: return@paged empty
|
||||||
val list = (chusan.recommendedMusic[u.id] ?: ls()).filter { it != 1 }
|
val list = (chusan.recommendedMusic[u.id] ?: ls()).filter { it != 1 }
|
||||||
|
|
||||||
if (list.isEmpty()) empty
|
if (list.isEmpty()) empty
|
||||||
else ls(mapOf("musicId" to 1, "recMusicList" to list.joinToString(";") { "$it,1" }))
|
else ls(mapOf("musicId" to 1, "recMusicList" to list.joinToString(";") { "$it,1" }))
|
||||||
}
|
}
|
||||||
|
|
||||||
"GetUserRecRating".paged("userRecRatingList") {
|
"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
|
empty
|
||||||
}
|
}
|
||||||
// VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE
|
// VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE VERSE
|
||||||
|
|
Loading…
Reference in New Issue