1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 21:02:25 +08:00
Files
wechat/miniprogram
Liangwt fe31f04640 增加微信公众号数据统计功能 (#279)
* * fix: 移除代码中的Println

* 增加公众号数据统计

* fix code style
2020-06-14 23:18:09 +08:00
..
2020-05-22 14:37:58 +08:00
2020-05-22 14:37:58 +08:00
2020-05-30 08:08:03 +08:00
2020-05-22 14:37:58 +08:00
2020-05-30 12:16:56 +08:00
2020-05-23 11:59:46 +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()