From 9ef94ed5fef3dda3dc67160a6d3d66799b8c5baf Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Fri, 29 May 2026 16:36:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=8D=95=E8=8E=B7=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../circle/other/app/service/game/YomiGameServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) 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 03b1ffdc..bf5b2aa9 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 @@ -3,6 +3,7 @@ package com.red.circle.other.app.service.game; import com.red.circle.auth.inner.endpoint.AuthClient; import com.red.circle.common.business.core.enums.SysOriginPlatformEnum; import com.red.circle.component.redis.service.RedisService; +import com.red.circle.framework.core.exception.ResponseException; import com.red.circle.framework.core.dto.ReqSysOrigin; import com.red.circle.framework.core.security.UserCredential; import com.red.circle.framework.dto.ResultResponse; @@ -190,6 +191,10 @@ public class YomiGameServiceImpl implements YomiGameService { } return new YomiBalanceCO(currentBalance); + } catch (ResponseException e) { + log.warn("yomi余额变动失败: platUserId={}, requestId={}, error={}", + userId, cmd.getRequestId(), e.getMessage()); + throw e; } catch (Exception e) { log.error("yomi余额变动失败: platUserId={}, requestId={}, error={}", userId, cmd.getRequestId(), e.getMessage(), e);