From ab87c7f95224a28408958c64b49c1841f2527d57 Mon Sep 17 00:00:00 2001 From: zhj <1784863376@qq.com> Date: Sat, 31 May 2025 17:11:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BB=A3=E7=90=86=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E9=99=90=E9=A2=9D=E4=B8=BAnull=E6=8A=9B=E9=94=99=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E7=9A=84=E5=89=8D=E5=8F=B0=E6=97=A0=E6=B3=95=E6=8E=A5?= =?UTF-8?q?=E5=8F=97=E5=85=B6=E4=BB=96=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/coin/business/service/impl/UserAccountServiceImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coin-system/src/main/java/com/coin/business/service/impl/UserAccountServiceImpl.java b/coin-system/src/main/java/com/coin/business/service/impl/UserAccountServiceImpl.java index ba8a521..da5b5e2 100755 --- a/coin-system/src/main/java/com/coin/business/service/impl/UserAccountServiceImpl.java +++ b/coin-system/src/main/java/com/coin/business/service/impl/UserAccountServiceImpl.java @@ -268,7 +268,8 @@ public class UserAccountServiceImpl implements IUserAccountService { // 2. 查询用户的限额信息 BigDecimal walletLimit = walletLimitConfigService.getWalletLimitByType(loginUser.getUserType()); if (walletLimit == null) { - throw new ServiceException("当前用户不存在限额"); + return String.valueOf("999999999999999.00"); +// throw new ServiceException("当前用户不存在限额"); } else { return String.valueOf(walletLimit); }