We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wx-js-utils/src/libs/WXMINIQR.js
Line 38 in f1b39b0
示例里这里写了path,应该是 page,另外这个接口返回的数据buffer在对象下面。实际生成的时候这个接口失败,生成文件一般是几个 byte.
这里使用云开发的话:
// 生成 let qrResult = await cloud.openapi.wxacode.getUnlimited({ page: 'pages/hello/hello', scene: 'code=123', checkPath: false, envVersion: "develop", }) // 上传 const cloudPath = await cloud.uploadFile({ cloudPath: filename.png, fileContent: qrResult.buffer }) // 云端这个接口需要配置权限 // config.json { "permissions": { "openapi": [ "wxacode.getUnlimited" ] } }
返回结果结构有误,另外微信新增了 checkPath、envVersion等新的参数。
checkPath
envVersion
The text was updated successfully, but these errors were encountered:
No branches or pull requests
wx-js-utils/src/libs/WXMINIQR.js
Line 38 in f1b39b0
示例里这里写了path,应该是 page,另外这个接口返回的数据buffer在对象下面。实际生成的时候这个接口失败,生成文件一般是几个 byte.
这里使用云开发的话:
返回结果结构有误,另外微信新增了
checkPath
、envVersion
等新的参数。The text was updated successfully, but these errors were encountered: