Merge branch 'master' of github.com:foxinmy/weixin4j
This commit is contained in:
commit
6464ba8842
@ -41,9 +41,10 @@ public class APPPayRequest extends AbstractPayRequest {
|
|||||||
payRequest.setPartnerId(getPaymentAccount().getMchId());
|
payRequest.setPartnerId(getPaymentAccount().getMchId());
|
||||||
payRequest.setPrepayId(getPrePayId());
|
payRequest.setPrepayId(getPrePayId());
|
||||||
Map<String, String> map = new HashMap<String, String>();
|
Map<String, String> map = new HashMap<String, String>();
|
||||||
map.put("appid", getPaymentAccount().getId());
|
map.put("appid", payRequest.getAppId());
|
||||||
map.put("partnerid", getPaymentAccount().getMchId());
|
// 因为partnerid和prepayid在PayRequest类中是不进行序列化的
|
||||||
map.put("prepayid", getPrePayId());
|
map.put("partnerid", payRequest.getPartnerId());
|
||||||
|
map.put("prepayid", payRequest.getPrepayId());
|
||||||
map.put("package", payRequest.getPackageInfo());
|
map.put("package", payRequest.getPackageInfo());
|
||||||
map.put("timestamp", payRequest.getTimeStamp());
|
map.put("timestamp", payRequest.getTimeStamp());
|
||||||
map.put("noncestr", payRequest.getNonceStr());
|
map.put("noncestr", payRequest.getNonceStr());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user