修复请求单号重复问题
This commit is contained in:
@@ -71,7 +71,7 @@ public class MyCardStrategy extends AbstractPayStrategy {
|
||||
String amount = BigDecimal.valueOf(chargeRecord.getLocalAmount()).divide(Constant.HUNDRED, 2, RoundingMode.HALF_UP).toString();
|
||||
String currency = chargeRecord.getLocalCurrencyCode();
|
||||
//获取myCard的授权码和H5支付页面地址
|
||||
AuthGlobalResp authGlobalResp = myCardService.authGlobal(chargeProdId, String.valueOf(uid), String.valueOf(uid), paymentType, itemCode, productName, amount, currency);
|
||||
AuthGlobalResp authGlobalResp = myCardService.authGlobal(chargeRecord.getChargeRecordId(), String.valueOf(uid), String.valueOf(uid), paymentType, itemCode, productName, amount, currency);
|
||||
chargeRecord.setExtra(authGlobalResp.getAuthCode());
|
||||
chargeRecord.setMetadata(JSONObject.toJSONString(authGlobalResp));
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
|
Reference in New Issue
Block a user