微信退款成功,但是查询退款却返回return_msg=不识别的参数mch_appid?
https://api.mch.weixin.qq.com/pay/refundquery Map reqData = new HashMap();
reqData.put("appid",appid);
reqData.put("mch_id",metch_id);
reqData.put("nonce_str",WeChatPayUtil.generateNonceStr());
reqData.put("transaction_id",user_transaction_id);
reqData.put("sign",WeChatPayUtil.generateSignature(reqData,private_key));
logger.warn("查询退款所需要的参数: " + reqData);
Map map = wxPay.refundQuery(reqData);
logger.warn("查询退款结果:" + map);
查询退款结果:{return_msg=不识别的参数mch_appid, return_code=FAIL}