fixed micropay

This commit is contained in:
jinyu
2016-10-21 15:38:48 +08:00
parent 102b229ada
commit 1a4bf6faa9
2 changed files with 2 additions and 2 deletions
@@ -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(