Skip to content

Commit

Permalink
add-show_splash_ad-for-qrcodeparam (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
lilien1010 authored Aug 26, 2024
1 parent c177013 commit 2e07088
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions miniprogram/qrcode/qrcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ type QRCoder struct {
IsHyaline bool `json:"is_hyaline,omitempty"`
// envVersion 要打开的小程序版本。正式版为 "release",体验版为 "trial",开发版为 "develop"
EnvVersion string `json:"env_version,omitempty"`
// ShowSplashAd 控制通过该小程序码进入小程序是否展示封面广告1、默认为true,展示封面广告2、传入为false时,不展示封面广告
ShowSplashAd bool `json:"show_splash_ad,omitempty"`
}

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

0 comments on commit 2e07088

Please sign in to comment.