Feng 57fd96454c fix: UniformMessage form field name (#611) 3 gadi atpakaļ
..
analysis 430c60a36e fix: 将小程序数据统计UserPortraitItem结构体的access_source_visit_uv改为value (#602) 3 gadi atpakaļ
auth 108a65ecf3 添加GetPhoneNumberContext方法 (#587) 3 gadi atpakaļ
business 56350c3655 add: [小程序] 增加 安全风控、内容安全1.0 & 2.0、code换取手机号 (#554) 4 gadi atpakaļ
config adf142dac2 feat: modify redis version to v8.11.5 (#582) 3 gadi atpakaļ
content 56350c3655 add: [小程序] 增加 安全风控、内容安全1.0 & 2.0、code换取手机号 (#554) 4 gadi atpakaļ
context 972dec0406 将小程序获取ak的方式也抽象出来 6 gadi atpakaļ
encryptor 00b13cda0d 增加iv校验 (#482) 4 gadi atpakaļ
message 96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473) 4 gadi atpakaļ
privacy 4721f7567b 支持微信小程序隐私接口 (#518) 4 gadi atpakaļ
qrcode 1b5c5fba67 Bug fix: `omitempty`关键字,给它赋的值恰好等于默认空值的话,在转为 json 之后也不会输出这个 field (#539) 4 gadi atpakaļ
riskcontrol 56350c3655 add: [小程序] 增加 安全风控、内容安全1.0 & 2.0、code换取手机号 (#554) 4 gadi atpakaļ
security 56350c3655 add: [小程序] 增加 安全风控、内容安全1.0 & 2.0、code换取手机号 (#554) 4 gadi atpakaļ
shortlink d3f1a83d46 增加shortlink.generate (#467) 4 gadi atpakaļ
subscribe 57fd96454c fix: UniformMessage form field name (#611) 3 gadi atpakaļ
tcb a8f7a24ff6 feat: improve comment and upgrade golang version 1.16 (#604) 3 gadi atpakaļ
urllink ded5a10f9f 小程序服务商 - 获取 URL Link 及 查询小程序 url_link 配置 (#576) 4 gadi atpakaļ
urlscheme d5e7c8043e feat:add urlscheme.query (#553) 4 gadi atpakaļ
werun 45caf61899 Silenceper release 2.0 (#408) 5 gadi atpakaļ
README.md 8e81a416c5 Adaptation of new go-redis components (#546) 4 gadi atpakaļ
miniprogram.go 56350c3655 add: [小程序] 增加 安全风控、内容安全1.0 & 2.0、code换取手机号 (#554) 4 gadi atpakaļ

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