- H5页面,用户授权后,通过Code换取用户授权 Token返回的OpenID重复
https://developers.weixin.qq.com/doc/service/guide/h5/auth.html [图片] [25-08-09 11:26:48.306]>>https://api.weixin.qq.com/sns/oauth2/access_token?appid=xxxxxx&secret=xxxxxx&code=003ReA0w3iInp53qot0w3AA57k4ReA05&grant_type=authorization_code {"access_token":"xxxxxx","expires_in":7200,"refresh_token":"xxxxxx", "openid":"oFNUIj91faoJMO3lvzvRdOjooxWk","scope":"snsapi_userinfo","unionid":"ocJDP61PJ3wS-XiW08TpZ8rDPDOc","is_snapshotuser":1} [25-08-09 11:31:43.949]>>https://api.weixin.qq.com/sns/oauth2/access_token?appid=xxxxxx&secret=xxxxxx&code=083TAn0007nPKU1GOQ200wLsdb2TAn0s&grant_type=authorization_code {"access_token":"xxxxxx","expires_in":7200,"refresh_token":"xxxxxx" ,"openid":"oFNUIj91faoJMO3lvzvRdOjooxWk","scope":"snsapi_userinfo","unionid":"ocJDP61PJ3wS-XiW08TpZ8rDPDOc","is_snapshotuser":1} 上面两次调用接口获取用户授权Token,两个用户获取到的openid一模一样,26分的用户在【广东揭阳揭东】门店,31分的用户在【广东东莞】门店。 最近出现很多这种情况,同个openid出面在福建、广东、江西、浙江等不同省份。这情况该如何处理。
2025-08-09 - 【同城配送】服务商代开发小程序,调用【查询门店信息】接口,报”system error"错误。
调用: https://api.weixin.qq.com/cgi-bin/express/intracity/querystore?access_token={ACCESS_TOKEN} 接口 查询门店信息 {"errcode":-1,"errmsg":"system error rid: 66f50f94-1d6802da-3563d2df"} 其实是调用其它同城配送【文档地址:https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/express/business/intracity_service.html#_2-10-%E5%88%9B%E5%BB%BA%E9%85%8D%E9%80%81%E5%8D%95】的接口,全部都是返回“system error"错误。 当我特意上传错误签名或错误加密信息时,都能返回对应的错误信息 {"errcode":40234,"errmsg":"invalid signature rid: 66e535dd-78e1e331-28d6a442"} 或 {"errcode":40097,"errmsg":"invalid args rid: 66e5364d-26ce4fe2-469b4a8c"} 或 {"status":-1,"msg":"mac check in GCM failed"} 这些现象应该反应了,签名及加密算法没有问题。
2024-09-26 - 服务商代开发小程序,调用【同城配送——查询门店信息】接口,报”system error"错误。
调用: https://api.weixin.qq.com/cgi-bin/express/intracity/querystore?access_token={ACCESS_TOKEN} 接口 查询门店信息 {"errcode":-1,"errmsg":"system error rid: 66e50532-18dccdee-1f3b3e58"} 其实是调用其它同城配送【文档地址:https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/express/business/intracity_service.html#_2-10-%E5%88%9B%E5%BB%BA%E9%85%8D%E9%80%81%E5%8D%95】的接口,全部都是返回“system error"错误。 当我特意上传错误签名或错误加密信息时,都能返回对应的错误信息 {"errcode":40234,"errmsg":"invalid signature rid: 66e535dd-78e1e331-28d6a442"} 或 {"errcode":40097,"errmsg":"invalid args rid: 66e5364d-26ce4fe2-469b4a8c"} 或 {"status":-1,"msg":"mac check in GCM failed"} 这些现象应该反应了,签名及加密算法没有问题。
2024-09-14