报错信息如下:
[2024-05-27 13:46:26] local.ERROR: array (
'code' => 'SIGN_ERROR',
'detail' =>
array (
'detail' =>
array (
'issue' => 'sign not match',
),
'field' => 'signature',
'location' => 'authorization',
'sign_information' =>
array (
'method' => 'POST',
'sign_message_length' => 489,
'truncated_sign_message' => 'POST
/v3/transfer/batches
1716788785
66541e31e302e
{"appid"
',
'url' => '/v3/transfer/batches',
),
),
'message' => '错误的签名,验签失败',
)
建议直接用sdkhttps://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay6_0.shtml