Implement present box

Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
2026-06-05 06:53:48 +08:00
parent a7ec1f1b7b
commit c4f1686abb
16 changed files with 227 additions and 2 deletions
+3 -2
View File
@@ -6,6 +6,7 @@ import (
"honoka-chan/internal/middleware"
usermodel "honoka-chan/internal/model/user"
"honoka-chan/internal/router"
commonschema "honoka-chan/internal/schema/common"
liveschema "honoka-chan/internal/schema/live"
"honoka-chan/internal/session"
honokautils "honoka-chan/internal/utils"
@@ -232,8 +233,8 @@ func preciseScore(ctx *gin.Context) {
}
} else {
playResp = liveschema.PreciseScoreResp{
ResponseData: map[string]constant.ErrorCode{
"error_code": constant.ErrorCodeLivePreciseListNotFound,
ResponseData: commonschema.ErrorData{
ErrorCode: constant.ErrorCodeLivePreciseListNotFound,
},
ReleaseInfo: []any{},
StatusCode: 600,