后端生成的微信二维码,通过编译二维码扫码获取不到scene参数?

小程序 文章 2021-12-13 16:20 1125 0 全屏看文

AI助手支持GPT4.0

后端生成的微信二维码,通过编译二维码扫码获取不到scene参数?The WeChat QR code generated on the backend can not get the scene parameters by compiling the QR code and scanning the code?

后端生成的微信二维码,通过编译二维码扫码获取不到scene参数?

后端代码:

使用的这个文档:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.getUnlimited.html


后端代码: 使用的这个文档:https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.getUnlimited.html

回答:

王春:

打印了, undefined, 不知道为什么, 怎么就收不到参数呢

中式小面包:

options.scene打印没有?

李亚超:

在onload内打印出来看options是什么数据

-EOF-

AI助手支持GPT4.0