| | |
| | | private String key = "6f5e0c2dcabfa9c27b5da5836a362fef";//微信商户号 |
| | | |
| | | private String callbackPath = "https://online.daowepark.com:443/activity";//支付回调网关地址 |
| | | |
| | | // private String callbackPath = "http://vbef9arg13uu.guyubao.com/activity";//支付回调网关地址 |
| | | |
| | | private String app_cert_path = "C:/cert/alipay/user/app_cert_path.crt";//应用公钥证书路径 |
| | |
| | | extendParams.setRoyaltyFreeze("false");// 冻结资金 用于后续分账处理 |
| | | model.setExtendParams(extendParams); |
| | | request.setBizModel(model); |
| | | request.setNotifyUrl(callbackPath + notifyUrl); |
| | | request.setNotifyUrl("http://8.137.22.229:5002" + notifyUrl); |
| | | |
| | | try { |
| | | //这里和普通的接口调用不同,使用的是sdkExecute |
| | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("appid", appid); |
| | | map.put("mch_id", mchId); |
| | | map.put("sub_mch_id", "123456"); |
| | | // map.put("sub_mch_id", "123456"); |
| | | map.put("nonce_str", nonce_str); |
| | | String temp = ""; |
| | | if (body.split("-").length>1){ |