From 8e81a416c5ccfc35beee46f79c5c9a493a804bcc Mon Sep 17 00:00:00 2001 From: houseme Date: Thu, 14 Apr 2022 10:07:58 +0800 Subject: [PATCH] Adaptation of new go-redis components (#546) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [feature] Format the code and improve Mini Program authorization to obtain openid(miniprogram/auth/auth.go Code2Session) * [feature] CheckEncryptedData (https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/user-info/auth.checkEncryptedData.html) * upgrade json error * upgrade json error * [feature] Wallet Transfer returns the pointer object * feat:Adaptation of new go-redis components * improve code * feat:upgrade golangci-lint-action version * fix * test ci * fix * test ci * fix * test * improve code * feat:GetPhoneNumber return ptr Co-authored-by: houseme --- .github/ISSUE_TEMPLATE.md | 1 + .github/workflows/go.yml | 13 ++- README.md | 10 ++- cache/redis.go | 94 ++++++--------------- cache/redis_test.go | 29 ++++--- doc/api/README.md | 3 +- doc/api/aispeech.md | 1 + doc/api/minigame.md | 1 + doc/api/miniprogram.md | 1 + doc/api/wxpay.md | 1 + go.mod | 16 ++-- go.sum | 140 +++++++++++++++++++++++++------ minigame/README.md | 1 + miniprogram/README.md | 3 +- miniprogram/auth/auth.go | 2 +- miniprogram/tcb/README.md | 2 + officialaccount/server/server.go | 3 +- openplatform/README.md | 4 +- pay/notify/paid.go | 3 +- wechat.go | 3 +- work/kf/account.go | 4 +- work/kf/client.go | 2 +- work/kf/error.go | 4 +- work/kf/other.go | 2 +- work/kf/sendmsg.go | 2 +- work/kf/sendmsgonevent.go | 2 +- work/kf/servicer.go | 6 +- work/kf/syncmsg.go | 2 +- work/kf/upgrade.go | 4 +- work/msgaudit/error.go | 26 +++--- 30 files changed, 232 insertions(+), 153 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 5d6e38cfa..f34eaa6a0 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,2 +1,3 @@ ## 问题及现象 +