We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25a8abe commit a7aaeabCopy full SHA for a7aaeab
src/zh/mini-program/miniprogram-code.md
@@ -12,10 +12,7 @@ description: 使用PowerWeChat生成小程序二维码、永久小程序码、
12
获取小程序二维码,适用于需要的码数量较少的业务场景。**通过该接口生成的小程序码,永久有效,有数量限制**,详见[获取二维码](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/qr-code.html)。
13
14
``` go
15
-services.MiniProgramApp.WXACode.CreateQRCode(&request.RequestQRCodeCreate{
16
- Path: "/page/index/index",
17
- Width: 300,
18
-})
+services.MiniProgramApp.WXACode.CreateQRCode("/page/index/index", 300)
19
```
20
21
[微信官方文档](https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.createQRCode.html)
0 commit comments