收藏
回答

查询余额接口问题

调用查询余额接口:https://api.weixin.qq.com/wxa/game/getbalance?access_token=ACCESS_TOKEN&signature=SIGNATURE&sig_method=SIG_METHOD&pay_sig=PAY_SIGNATURE

返回如下:


{

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吗? 有没有完整一点的实例?

回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容