Commit e9d7c220 authored by shiyu's avatar shiyu

预支付接口6

parent d040d123
......@@ -156,8 +156,8 @@ public class WxPayServiceApi {
String packageSign = sign(buildMessage(wxPayParamConfig.getAppId(), timestamp, nonceStr, prepayId).getBytes(), wxPayParamConfig.getPrivateKeyPath());
JSONObject jsonObject = new JSONObject();
jsonObject.put("appId", wxPayParamConfig.getAppId());
jsonObject.put("prepayId", prepayId);
jsonObject.put("timeStamp", timestamp);
jsonObject.put("prepayid", prepayId);
jsonObject.put("timeStamp", String.valueOf(timestamp));
jsonObject.put("nonceStr", nonceStr);
jsonObject.put("package", "prepay_id=" + prepayId);
jsonObject.put("signType", "RSA");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment