iedc-go/vendor/github.com/silenceper/wechat/v2/miniprogram
2022-05-24 13:49:25 +08:00
..
analysis 增加vendor 2022-05-24 13:49:25 +08:00
auth 增加vendor 2022-05-24 13:49:25 +08:00
config 增加vendor 2022-05-24 13:49:25 +08:00
content 增加vendor 2022-05-24 13:49:25 +08:00
context 增加vendor 2022-05-24 13:49:25 +08:00
encryptor 增加vendor 2022-05-24 13:49:25 +08:00
message 增加vendor 2022-05-24 13:49:25 +08:00
privacy 增加vendor 2022-05-24 13:49:25 +08:00
qrcode 增加vendor 2022-05-24 13:49:25 +08:00
shortlink 增加vendor 2022-05-24 13:49:25 +08:00
subscribe 增加vendor 2022-05-24 13:49:25 +08:00
tcb 增加vendor 2022-05-24 13:49:25 +08:00
urllink 增加vendor 2022-05-24 13:49:25 +08:00
werun 增加vendor 2022-05-24 13:49:25 +08:00
miniprogram.go 增加vendor 2022-05-24 13:49:25 +08:00
README.md 增加vendor 2022-05-24 13:49:25 +08:00

微信小程序

官方文档

包说明

  • analysis 数据分析相关API

快速入门

wc := wechat.NewWechat()
memory := cache.NewMemory()
cfg := &miniConfig.Config{
    AppID:     "xxx",
    AppSecret: "xxx",
    Cache: memory,
}
miniprogram := wc.GetMiniProgram(cfg)
miniprogram.GetAnalysis().GetAnalysisDailyRetain()