From 2e0708845b4bc65de9251ec366380a3e94e658df Mon Sep 17 00:00:00 2001 From: Lien Li Date: Mon, 26 Aug 2024 10:20:39 +0800 Subject: [PATCH] add-show_splash_ad-for-qrcodeparam (#794) --- miniprogram/qrcode/qrcode.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miniprogram/qrcode/qrcode.go b/miniprogram/qrcode/qrcode.go index 41e67e5bd..bb51b0399 100644 --- a/miniprogram/qrcode/qrcode.go +++ b/miniprogram/qrcode/qrcode.go @@ -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 请求并返回二维码二进制数据