Skip to content

Commit 2e07088

Browse files
authored
add-show_splash_ad-for-qrcodeparam (#794)
1 parent c177013 commit 2e07088

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

miniprogram/qrcode/qrcode.go

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ type QRCoder struct {
5454
IsHyaline bool `json:"is_hyaline,omitempty"`
5555
// envVersion 要打开的小程序版本。正式版为 "release",体验版为 "trial",开发版为 "develop"
5656
EnvVersion string `json:"env_version,omitempty"`
57+
// ShowSplashAd 控制通过该小程序码进入小程序是否展示封面广告1、默认为true,展示封面广告2、传入为false时,不展示封面广告
58+
ShowSplashAd bool `json:"show_splash_ad,omitempty"`
5759
}
5860

5961
// fetchCode 请求并返回二维码二进制数据

0 commit comments

Comments
 (0)