iap风险-超出平台限制通知

This commit is contained in:
khalil
2023-10-13 15:43:04 +08:00
parent 7dc91282bf
commit 95d35e0566

View File

@@ -129,7 +129,7 @@ public class ChargeRecordService extends BaseService {
amount = Long.parseLong(jedisService.hget(cacheKey, String.valueOf(userId)));
}else{
Long historyRechargeAmount = chargeRecordMapperMgr.getHistoryRechargeAmountByChannel(userId, Constant.ChargeChannel.ios_pay);
amount = historyRechargeAmount != null ? historyRechargeAmount : 0;
amount = (historyRechargeAmount != null) ? historyRechargeAmount : 0;
jedisService.hset(cacheKey, String.valueOf(userId), amount.toString());
}
return amount;