无关风月
19 小时以前 b1fb83530b7105e4aa73e4101727dea945eb01c2
cloud-server-course/src/main/java/com/dsh/course/util/PayMoneyUtil.java
@@ -63,7 +63,8 @@
    private String key = "6f5e0c2dcabfa9c27b5da5836a362fef";//微信商户号
    private String callbackPath = "https://online.daowepark.com:443/course";//支付回调网关地址
//    private String callbackPath = "https://online.daowepark.com:443/course";//支付回调网关地址
private String callbackPath = "http://221.182.45.100:1234/course";//支付回调网关地址
    private String app_cert_path = "C:/cert/alipay/user/app_cert_path.crt";//应用公钥证书路径
@@ -98,6 +99,9 @@
        settleDetailInfos0.setTransInType("defaultSettle");
        settleDetailInfos.add(settleDetailInfos0);
        settleInfo.setSettleDetailInfos(settleDetailInfos);
        SettleConfirmExtendParams settleConfirmExtendParams = new SettleConfirmExtendParams();
        settleConfirmExtendParams.setRoyaltyFreeze("false");
        model.setExtendParams(settleConfirmExtendParams);
        model.setSettleInfo(settleInfo);
        request.setBizModel(model);
        System.err.println("结算金额"+amount);
@@ -203,7 +207,7 @@
        model.setSubMerchant(subMerchant);
        if (!smid.equals("2088330203191220")){
            ExtendParams extendParams = new ExtendParams();
            extendParams.setRoyaltyFreeze("true");
            extendParams.setRoyaltyFreeze("false");
            model.setExtendParams(extendParams);
        }
        request.setBizModel(model);