From 77c4055c72fc5d0e0becaf3c410ab700f26c220b Mon Sep 17 00:00:00 2001 From: lrj <owen.stl@gmail.com> Date: 星期六, 04 十月 2025 18:57:09 +0800 Subject: [PATCH] fix(auth): 避免在 JWT 过滤器中消费原始 GraphQL 请求体,防止下游读取为空引发 400 --- backend/src/main/java/com/rongyichuang/player/dto/input/ActivityPlayerRatingItemInput.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/main/java/com/rongyichuang/player/dto/input/ActivityPlayerRatingItemInput.java b/backend/src/main/java/com/rongyichuang/player/dto/input/ActivityPlayerRatingItemInput.java index c18017c..1134547 100644 --- a/backend/src/main/java/com/rongyichuang/player/dto/input/ActivityPlayerRatingItemInput.java +++ b/backend/src/main/java/com/rongyichuang/player/dto/input/ActivityPlayerRatingItemInput.java @@ -2,7 +2,7 @@ public class ActivityPlayerRatingItemInput { private Long itemId; - private Integer score; + private Double score; public Long getItemId() { return itemId; @@ -12,11 +12,11 @@ this.itemId = itemId; } - public Integer getScore() { + public Double getScore() { return score; } - public void setScore(Integer score) { + public void setScore(Double score) { this.score = score; } } \ No newline at end of file -- Gitblit v1.8.0