后台充值增加 SYSTEM_BACKEND_SEND 类型

This commit is contained in:
tianfeng 2025-12-31 17:05:32 +08:00
parent 7f5f8d9055
commit 06dedeb0e4
2 changed files with 9 additions and 0 deletions

View File

@ -69,6 +69,11 @@ public enum MonthlyRechargeType {
*/
LOTTERY_EXCHANGE,
/**
* 系统后台发放
*/
SYSTEM_BACKEND_SEND,
/**
* 未定义.
*/

View File

@ -218,6 +218,10 @@ public class UserWalletServiceImpl implements UserWalletService {
} else if (param.getType() != null && param.getType() == 4) {
// 充值类型计入财富榜
userLevelClient.incrWealthExp(userProfile.getId(), param.getQuantity());
userRechargeCountClient.count(userProfile.getId(),
param.getUsdQuantity(),
MonthlyRechargeType.SYSTEM_BACKEND_SEND
);
}
GoldOrigin candyOriginEnum =