v1.1 payermax支付-充值回调

This commit is contained in:
2022-10-19 01:57:24 +08:00
parent ef32dc465a
commit 71b718de8e
3 changed files with 55 additions and 35 deletions

View File

@@ -53,9 +53,8 @@ public class PayermaxService {
Map<String, String> mapParams = toMapCreateOrderParams(params);
log.info("payermax请求参数{}", JSONObject.toJSONString(mapParams));
//result = OkHttpUtils.postWithBody("payermaxConfig.getApiUrl()", mapParams);
result = OkHttpUtils.postWithBody("https://pay-gate-uat.payermax.com/aggregate-pay-gate/api/gateway", mapParams);
result = OkHttpUtils.postWithBody(payermaxConfig.getApiUrl(), mapParams);
log.info("payermax请求结果{}", result);
} catch (Exception e) {

View File

@@ -11,8 +11,6 @@ public class PayermaxConfig{
private String apiUrl;
private String merchantId;
private String appId;
private String privateKey;
private String payermaxPublicKey;
private String secretKey;
}