JSSDK配置
获取JSSDK配置
go
url := "https://www.artisan-cloud.com/"
jsapiList := []string{"chooseImage"}
debug := false
beta := false
isJson := false
openTagList := []string{"wx-open-launch-app", "wx-open-launch-weapp"}
OfficialAccountApp.JSSDK.BuildConfig(jsapiList, debug, beta, isJson, openTagList, url)
TIP
- isJson为true,会返回json字符串。
- openTagList配置参考:如何在微信内外部浏览器唤起小程序