Array
(
[code] => SIGN_ERROR
[detail] => Array
(
[detail] => Array
(
[issue] => sign not match
)
[field] => signature
[location] => authorization
[sign_information] => Array
(
[method] => POST
[sign_message_length] => 897
[truncated_sign_message] => POST
/v3/transfer/batches
1658824362
f2cec1829dcd04172074cd100623110a
--------
[url] => /v3/transfer/batches
)
)
[message] => 错误的签名,验签失败
)
这是返回的结果 按文档一步一步走的,麻烦看下什么原因 我这也排查不出啥了
如果把Authorization里面的body用json的JSON_UNESCAPED_UNICODE编码,就不会报这个错误,但是错误会变成{"code":"PARAM_ERROR","message":"平台证书序列号Wechatpay-Serial错误"}