关闭金币代理身份报错修复

This commit is contained in:
tianfeng 2025-09-27 18:23:26 +08:00
parent 69515ff39c
commit c98b814422

View File

@ -205,10 +205,11 @@ public class UserFreightBalanceServiceImpl implements
freightGoldClient.updateFreightBalance(
walletAppConvertor.toUserFreightBalanceCmd(balance))));
if (status) {
Long freightBadgeId = getFreightBadgeId();
if (status && freightBadgeId != null) {
//移除徽章
badgeBackpackClient
.deleteBadge(balance.getUserId(), getFreightBadgeId());
.deleteBadge(balance.getUserId(), freightBadgeId);
return;
}