fixed micropay

This commit is contained in:
jinyu committed 2016-10-21 15:38:48 +08:00
1 parent 102b229ada
commit 1a4bf6faa9
2 files changed
+2 -2

No files matched your search

@@ -110,7 +110,7 @@ public class PayApi extends MchApi {
super.declareMerchant(payPackage);
JSONObject _payPackage = (JSONObject) JSON.toJSON(payPackage);
// 不需要设置TradeType参数
_payPackage.remove("tradeType");
_payPackage.remove("trade_type");
payPackage.setSign(weixinSignature.sign(_payPackage));
String para = XmlStream.toXML(payPackage);
WeixinResponse response = weixinExecutor.post(