iap风险-钉钉-充值预警
This commit is contained in:
@@ -51,9 +51,9 @@ public class IosChargeWarningListener implements ApplicationListener<ChargeSucce
|
||||
|
||||
Long uid = record.getUid();
|
||||
// 个人累计IOS充值额额是否大于限额
|
||||
Long userTotalLimit = Long.parseLong(sysConfService.getDefaultSysConfValueById(
|
||||
long userTotalLimit = Long.parseLong(sysConfService.getDefaultSysConfValueById(
|
||||
Constant.SysConfId.IOS_PAY_USER_TOTAL_AMOUNT, "200"));
|
||||
Long userTotalAmount = chargeRecordService.getUserIosPayToatlAmount(uid);
|
||||
long userTotalAmount = chargeRecordService.getUserIosPayToatlAmount(uid);
|
||||
if (userTotalAmount >= userTotalLimit) {
|
||||
ChargeInterruptedDto dto = new IosChargeInterruptedDto(ChargeInterruptedTypeEnum.userTotal, String.valueOf(uid),
|
||||
null, null,
|
||||
|
Reference in New Issue
Block a user