使用官方的加密代码加密出来和官方的工具一致
官方的工具
代码加密的
WECHATPAY2-SHA256-RSA2048 mchid="1673589422",nonce_str="EB8024265D1037C000A4A16178744BE5",timestamp="1713239063",serial_no="7D627782B31C3A5BEB14C5F5F7607666D7C22E02",signature="XcVantS3d/YRH3fhid1w4wUavPtW52+Ve/WPRQsy58zjK4rawC1CAjN0VNYrA8Ofz/iKD3dzUwn0TKX7wk32al6aTWjB6j0X4FxOfAbbOWeBR23ezeqTXvBDkU7OEG1vo1DX44pd3E2fXTt+haKKXRbozoT5rzKE2qAnvV8eMsCsPqdZtW/VFc5i5lGxdjsTAtwOy62F1pFCrbyijvZUa5XSm5ssNqitV0Ff2P0M/qjVIMASmHieGZOLI4bBXf5/UqN0ku3oIqcdgRNf+Trsn9Rrc49NlVEIJ+UtzDY9tdfi8Bv3hsSgsld+ynZ8cGf3ZiMu5R25N8bGODQhNs1o+w==“
请求接口给的返回
{
"code": "PARAM_ERROR",
"detail": {
"detail": {
"issue": "sign not match"
},
"field": "signature",
"location": "authorization",
"sign_information": {
"method": "POST",
"sign_message_length": 738,
"truncated_sign_message": "POST\n/v3/combine-transactions/native\n1713239063\nEB8024265D1037C000A4A16178744BE5\n{\"combin\n",
"url": "/v3/combine-transactions/native"
}
},
"message": "请求参数有误,请检查后再试。"
}
已解决
有没有官方帮忙看一下