返回如下:
{
errcode: 90010,
errmsg: '[signature] signature is invalid traceid: 33594054, raw post_body(remove wrapped []): [{"openid":"o7A4x5AdHz-0-1aTjMl_ay70BjT0","offer_id":"1450176340","ts":1706170924,"zone_id":"1","env":1}], base64_encoded_post_body: eyJvcGVuaWQiOiJvN0E0eDVBZEh6LTAtMWFUak1sX2F5NzBCalQwIiwib2ZmZXJfaWQiOiIxNDUwMTc2MzQwIiwidHMiOjE3MDYxNzA5MjQsInpvbmVfaWQiOiIxIiwiZW52IjoxfQ== rid: 65b21a2c-1c97037c-4b7d9b15'
}
疑问:signature是用sha1吗? 有没有完整一点的实例?
https://developers.weixin.qq.com/minigame/dev/api-backend/midas-payment-v2/pay_v2.getBalance.html
点过去看一下,里面有个示例