iap风险-钉钉-充值预警

This commit is contained in:
khalil
2023-10-13 18:41:25 +08:00
parent 99d0fe23db
commit a9d42be090

View File

@@ -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,