okhowang 00b13cda0d 增加iv校验 (#482) il y a 4 ans
..
analysis 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) il y a 4 ans
auth 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) il y a 4 ans
config 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) il y a 4 ans
content 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) il y a 4 ans
context 972dec0406 将小程序获取ak的方式也抽象出来 il y a 6 ans
encryptor 00b13cda0d 增加iv校验 (#482) il y a 4 ans
message 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) il y a 4 ans
qrcode 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) il y a 4 ans
shortlink d3f1a83d46 增加shortlink.generate (#467) il y a 4 ans
subscribe 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) il y a 4 ans
tcb 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) il y a 4 ans
urllink 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) il y a 4 ans
werun 45caf61899 Silenceper release 2.0 (#408) il y a 5 ans
README.md 85b0a114dc rebase release-2.0 il y a 6 ans
miniprogram.go 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) il y a 4 ans

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()