Implement live ranking endpoint

- Add /main.php/ranking/live backed by user_live_status hi scores
- Parse live_difficulty_id from the client string payload
- Accept empty or numeric page values for the first-page request format

Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
2026-06-06 18:23:21 +08:00
parent 0dd5df0302
commit 1619e44207
3 changed files with 303 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@ import (
_ "honoka-chan/internal/handler/payment"
_ "honoka-chan/internal/handler/personalnotice"
_ "honoka-chan/internal/handler/profile"
_ "honoka-chan/internal/handler/ranking"
_ "honoka-chan/internal/handler/reward"
_ "honoka-chan/internal/handler/scenario"
_ "honoka-chan/internal/handler/secretbox"