33333333333

This commit is contained in:
777
2025-04-07 18:27:10 +08:00
parent a8dc2248ec
commit af60c87626

View File

@@ -92,11 +92,11 @@ public class PayTrdV12Service implements PayTrdService {
payerInfo.put("payExtra",payExtra); payerInfo.put("payExtra",payExtra);
bizData.put("payerInfo",payerInfo); bizData.put("payerInfo",payerInfo);
bizData.put("notifyUrl", notifyUrl); bizData.put("notifyUrl", notifyUrl);
JSONObject reqReserved = new JSONObject(); JSONObject riskmgtInfo = new JSONObject();
reqReserved.put("sourceIp", ServletUtils.getClientIP()); riskmgtInfo.put("sourceIp", ServletUtils.getClientIP());
bizData.put("sdCashierType", "SDK"); bizData.put("sdCashierType", "SDK");
bizData.put("metaOption", "[{\"s\":\"Android\",\"n\":\"\",\"id\":\"\",\"sc\":\"\"},{\"s\":\"IOS\",\"n\":\"\",\"id\":\"\",\"sc\":\"\"}]"); bizData.put("metaOption", "[{\"s\":\"Android\",\"n\":\"\",\"id\":\"\",\"sc\":\"\"},{\"s\":\"IOS\",\"n\":\"\",\"id\":\"\",\"sc\":\"\"}]");
bizData.put("reqReserved",reqReserved); bizData.put("reqReserved",riskmgtInfo);
String gatewayUrl = getGatewayUrl(payTrdConfig); String gatewayUrl = getGatewayUrl(payTrdConfig);
String createOrderUrl = gatewayUrl + type.getCreateOrderUrl(); String createOrderUrl = gatewayUrl + type.getCreateOrderUrl();