| | |
| | | import java.io.ByteArrayInputStream; |
| | | import java.io.IOException; |
| | | import java.nio.charset.StandardCharsets; |
| | | import java.nio.file.Files; |
| | | import java.nio.file.Paths; |
| | | import java.security.*; |
| | | import java.security.cert.Certificate; |
| | | import java.security.cert.CertificateException; |
| | |
| | | Integer refund = po.getRefund(); |
| | | |
| | | // 生成body |
| | | Integer total = virtualCardSv.getRechargeAmountByOrderNumber(tradeNo); |
| | | Double total = virtualCardSv.getRechargeAmountByOrderNumber(tradeNo); |
| | | RefundRequest.Amount amount = new RefundRequest.Amount(); |
| | | amount.setRefund(refund); |
| | | amount.setTotal(total); |