v1.1 充值-校验金额-google用amount,payermax用localAmount
This commit is contained in:
@@ -313,7 +313,8 @@ public class ChargeService extends BaseService {
|
||||
if (payCenterService.isTarotLowChargeAmountOpen()) {
|
||||
realAmount = realAmount * 100;
|
||||
}
|
||||
Long amount = chargeRecord.getLocalAmount();
|
||||
Long amount = Constant.ChargeChannel.google_play_billing.equals(chargeRecord.getChannel())?
|
||||
chargeRecord.getAmount(): chargeRecord.getLocalAmount();
|
||||
String orderNo = chargeRecord.getChargeRecordId();
|
||||
if (realAmount != amount) {
|
||||
// 充值金額與實際價格不一致 (amount以分為單位)
|
||||
|
Reference in New Issue
Block a user