wby 4721f7567b 支持微信小程序隐私接口 (#518) %!s(int64=4) %!d(string=hai) anos
..
analysis 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) %!s(int64=4) %!d(string=hai) anos
auth 1e2f909f34 小程序auth增加Context接口 (#483) %!s(int64=4) %!d(string=hai) anos
config 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) %!s(int64=4) %!d(string=hai) anos
content 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) %!s(int64=4) %!d(string=hai) anos
context 972dec0406 将小程序获取ak的方式也抽象出来 %!s(int64=6) %!d(string=hai) anos
encryptor 00b13cda0d 增加iv校验 (#482) %!s(int64=4) %!d(string=hai) anos
message 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) %!s(int64=4) %!d(string=hai) anos
privacy 4721f7567b 支持微信小程序隐私接口 (#518) %!s(int64=4) %!d(string=hai) anos
qrcode 9cecda0469 小程序码、URL Link 增加参数(#502,#512) (#514) %!s(int64=4) %!d(string=hai) anos
shortlink d3f1a83d46 增加shortlink.generate (#467) %!s(int64=4) %!d(string=hai) anos
subscribe 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) %!s(int64=4) %!d(string=hai) anos
tcb 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) %!s(int64=4) %!d(string=hai) anos
urllink 9cecda0469 小程序码、URL Link 增加参数(#502,#512) (#514) %!s(int64=4) %!d(string=hai) anos
werun 45caf61899 Silenceper release 2.0 (#408) %!s(int64=5) %!d(string=hai) anos
README.md 85b0a114dc rebase release-2.0 %!s(int64=6) %!d(string=hai) anos
miniprogram.go 4721f7567b 支持微信小程序隐私接口 (#518) %!s(int64=4) %!d(string=hai) anos

README.md

微信小程序

官方文档

包说明

  • analysis 数据分析相关API

快速入门

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