From 8d2237a9745bc0cdf6ba0310ad01e810e3c2394b Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Thu, 28 May 2026 17:08:23 +0800 Subject: [PATCH] =?UTF-8?q?yomi=20=E8=8E=B7=E5=8F=96=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E5=A1=AB=E5=85=85=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../circle/other/app/service/game/YomiGameServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java index 876c585b..f0dd1e19 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java @@ -114,11 +114,13 @@ public class YomiGameServiceImpl implements YomiGameService { if (response == null || response.getBody() == null) { throw new Exception("查询用户余额失败"); } + String userAvatar = profile.getUserAvatar(); + String avatar = userAvatar != null && !userAvatar.isEmpty() ? userAvatar : "-"; return YomiUserInfoCO.builder() .platUserId(cmd.getPlatUserId()) .platUserOpenId("") // 项目暂无 openId 概念,按协议传空 .nickname(profile.getUserNickname()) - .avatar(profile.getUserAvatar()) + .avatar(avatar) .balance(response.getBody().getDollarAmount().longValue()) .build(); } catch (Exception e) {