小程序

获取小程序操作对象

wc := wechat.NewWechat()
memory := cache.NewMemory()
cfg := &miniConfig.Config{
    AppID:     "xxx",
    AppSecret: "xxx",
    Cache: memory,
}
miniprogram := wc.GetMiniProgram(cfg)
//TODO 调用对应接口
miniprogram.GetAnalysis().GetAnalysisDailyRetain()
Copyright © Wechat SDK For Go 2020 all right reserved,powered by Gitbook该文件修订时间: 2020-05-30 08:12:07

results matching ""

    No results matching ""