金币代理充值给用户,计入财富榜

This commit is contained in:
tianfeng 2025-09-23 18:41:23 +08:00
parent d48ae288a6
commit 42cbade98c

View File

@ -14,6 +14,7 @@ import com.red.circle.order.inner.endpoint.UserRechargeCountClient;
import com.red.circle.order.inner.model.enums.MonthlyRechargeType;
import com.red.circle.other.inner.endpoint.activity.AppRankCountClient;
import com.red.circle.other.inner.endpoint.activity.CumulativeRechargeClient;
import com.red.circle.other.inner.endpoint.user.user.UserLevelClient;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import com.red.circle.tool.core.date.LocalDateTimeUtils;
import com.red.circle.tool.core.json.JacksonUtils;
@ -67,6 +68,7 @@ public class SendFreightShipCmdExe {
private final CumulativeRechargeClient cumulativeRechargeClient;
private final FreightBalanceRunningWaterService freightBalanceRunningWaterService;
private final TaskMqMessage taskMqMessage;
private final UserLevelClient userLevelClient;
public BigDecimal execute(FreightShipSendCmd cmd) {
@ -157,6 +159,9 @@ public class SendFreightShipCmdExe {
MonthlyRechargeType.SHIPPING_AGENT
);
//计入财富榜
userLevelClient.incrWealthExp(cmd.getAcceptUserId(), cmd.getQuantity());
appRankCountClient.incrRechargeQuantity(cmd.requireReqSysOrigin(),
cmd.getAcceptUserId(),
cmd.getQuantity().longValue()