已经解决了!
微信分账测试的时候一直显示签名失败,但是效验签名的是通过,还一直报签名错误?<xml> <appid>wx8e069e65d09d83f7</appid> <mch_id>1600578611</mch_id> <nonce_str>62b421678b694186a821e64e28a78aa9</nonce_str> <receiver>{"amount":0,"custom_relation":"","name":"明月仙山","description":"","relation_type":"STORE","type":"MERCHANT_ID","account":"1600578611"}</receiver> <sign>4620F289824C2AA67DB9FFFB1EC5E74BEC6ADD94B42A0213A3BFD65D774E2F9E</sign> </xml> 这个是请求的xml,用微信签名认证是通过的呢! [图片] 但是测试的时候一直显示签名认证失败! <xml> <return_code><![CDATA[SUCCESS]]></return_code> <result_code><![CDATA[FAIL]]></result_code> <err_code><![CDATA[SIGN_ERROR]]></err_code> <err_code_des><![CDATA[验证签名失败]]></err_code_des> <mch_id><![CDATA[1600578611]]></mch_id> <appid><![CDATA[wx8e069e65d09d83f7]]></appid> <receiver><![CDATA[{"type":"MERCHANT_ID","account":"1600578611","amount":0,"description":"","relation_type":"STORE","custom_relation":""}]]></receiver> <nonce_str><![CDATA[c7b03829dfabf981]]></nonce_str> <sign><![CDATA[E61D0F658EB1A3369C449D74E174F710E81FE2B4FC3787C810C311B2D0FD6FEB]]></sign> </xml>
2020-11-16