paramMap.put("appid", WXPayConstants.APP_ID);
paramMap.put("mch_id", WXPayConstants.MCH_ID);
paramMap.put("nonce_str", UUIDGenerator.getUUID());
paramMap.put("sign_type", "MD5");
paramMap.put("device_info", "WEB");
paramMap.put("detail", "购买次数产品");
paramMap.put("attach", "");
paramMap.put("fee_type", "CNY");
paramMap.put("body", "购买产品");
paramMap.put("out_trade_no", jsonObject.getString("id"));
paramMap.put("total_fee", String.valueOf(payMoney));
paramMap.put("spbill_create_ip", ip);
paramMap.put("product_id", jsonObject.getString("id"));
paramMap.put("trade_type", "NATIVE");
paramMap.put("notify_url", WXPayConstants.CALLBACK);
检查一下签名工具,大概率是签名的时候参数拼接顺序有问题