From 9136b07be632bc8c8c13e8ed940f121c9f3a2625 Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 23 Jan 2026 15:54:27 +0800 Subject: [PATCH] =?UTF-8?q?yomi=E6=8E=A5=E5=8F=A3=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../red/circle/other/app/dto/cmd/party3rd/YomiBalanceCO.java | 2 ++ .../red/circle/other/app/dto/cmd/party3rd/YomiTokenCO.java | 2 ++ .../circle/other/app/dto/cmd/party3rd/YomiUserInfoCO.java | 5 +++++ 3 files changed, 9 insertions(+) diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiBalanceCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiBalanceCO.java index 655e48cf..f739f2ba 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiBalanceCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiBalanceCO.java @@ -1,5 +1,6 @@ package com.red.circle.other.app.dto.cmd.party3rd; +import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @@ -15,5 +16,6 @@ public class YomiBalanceCO { /** * 当前余额 */ + @JsonProperty("current_balance") private Integer currentBalance; } \ No newline at end of file diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiTokenCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiTokenCO.java index be2667e6..7dcc10ca 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiTokenCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiTokenCO.java @@ -1,5 +1,6 @@ package com.red.circle.other.app.dto.cmd.party3rd; +import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @@ -20,5 +21,6 @@ public class YomiTokenCO { /** * 过期时间(秒级时间戳) */ + @JsonProperty("expire_date") private Long expireDate; } \ No newline at end of file diff --git a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiUserInfoCO.java b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiUserInfoCO.java index d8888f14..915867c8 100644 --- a/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiUserInfoCO.java +++ b/rc-service/rc-service-other/other-client/src/main/java/com/red/circle/other/app/dto/cmd/party3rd/YomiUserInfoCO.java @@ -1,5 +1,6 @@ package com.red.circle.other.app.dto.cmd.party3rd; +import com.fasterxml.jackson.annotation.JsonProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; @@ -15,20 +16,24 @@ public class YomiUserInfoCO { /** * 用户ID */ + @JsonProperty("user_id") private String userId; /** * 用户昵称 */ + @JsonProperty("user_name") private String userName; /** * 用户头像 */ + @JsonProperty("user_avatar") private String userAvatar; /** * 用户余额 */ + @JsonProperty("balance") private Integer balance; } \ No newline at end of file