收藏
回答

生成带参数的二维码一会正常一会报40001

https://developers.weixin.qq.com/doc/offiaccount/Account_Management/Generating_a_Parametric_QR_Code.html

https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=45_LWsu9HVoL37cuEMk6InKBsRLHS70wgVm3ONcwDZPgOdfZnwdAGSYJT-YlwpCgXIW6sl1oaTP6iKjsv4KruopLXuCJqJOLCcbjlP15VeOA6flnLDmZHAQjnF4X9D1lkwhyULilJjsqdScu9fdYUXbAJACYB|{"expire_seconds":86400,"action_name":"QR_SCENE","action_info":{"scene":{"scene_id":10972150}}}|200|{"errcode":40001,"errmsg":"invalid credential, access_token is invalid or not latest rid: 60aca0ce-220f3372-6945f8d5"}

https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=45_LWsu9HVoL37cuEMk6InKBsRLHS70wgVm3ONcwDZPgOdfZnwdAGSYJT-YlwpCgXIW6sl1oaTP6iKjsv4KruopLXuCJqJOLCcbjlP15VeOA6flnLDmZHAQjnF4X9D1lkwhyULilJjsqdScu9fdYUXbAJACYB|{"expire_seconds":86400,"action_name":"QR_SCENE","action_info":{"scene":{"scene_id":10972150}}}|200|{"ticket":"gQFs8TwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyRXBGellLX19ic1AxSjlPSk53MTcAAgTJoKxgAwSAUQEA","expire_seconds":86400,"url":"http://weixin.qq.com/q/02EpFzYK__bsP1J9OJNw17"}


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

2 个回答

登录 后发表内容