1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-09 07:02:27 +08:00

Adaptation of new go-redis components (#546)

* [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 <houseme@outlook.com>
This commit is contained in:
houseme
2022-04-14 10:07:58 +08:00
committed by GitHub
parent 1b5c5fba67
commit 8e81a416c5
30 changed files with 232 additions and 153 deletions

View File

@@ -51,7 +51,7 @@ const (
SDKApiNotOpen Error = "API 功能没有被开启"
)
//Error 输出错误信息
// Error 输出错误信息
func (r Error) Error() string {
return reflect.ValueOf(r).String()
}
@@ -85,7 +85,7 @@ func NewSDKErr(code int64, msgList ...string) error {
return err
}
//返回未知的自定义错误
// 返回未知的自定义错误
if len(msgList) > 0 {
return Error(strings.Join(msgList, ","))
}