|
@@ -374,7 +374,7 @@ public class WxPayServiceImpl implements WxPayService {
|
|
payParam.put("timeStamp",System.currentTimeMillis()/1000+"");
|
|
payParam.put("timeStamp",System.currentTimeMillis()/1000+"");
|
|
payParam.put("package","prepay_id="+resultMap.get("prepay_id"));
|
|
payParam.put("package","prepay_id="+resultMap.get("prepay_id"));
|
|
payParam.put("signType","RSA");
|
|
payParam.put("signType","RSA");
|
|
- payParam.put("appId",wxPayConfig.getAspi_appid());
|
|
|
|
|
|
+ payParam.put("appId",wxPayConfig.getOa_appid());
|
|
payParam.put("nonceStr",RandomUtil.getRandomString(32));
|
|
payParam.put("nonceStr",RandomUtil.getRandomString(32));
|
|
Signature signature = Signature.getInstance("SHA256withRSA");
|
|
Signature signature = Signature.getInstance("SHA256withRSA");
|
|
signature.initSign(wxPayConfig.getPrivateKey(wxPayConfig.getPrivateKeyPath()));
|
|
signature.initSign(wxPayConfig.getPrivateKey(wxPayConfig.getPrivateKeyPath()));
|