1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 21:02:25 +08:00
Commit Graph

19 Commits

Author SHA1 Message Date
Gophlet
7d93d1b9c8 feat(redis): 优化配置语义并增强超时与连接池能力,同时保持向后兼容 (#869)
* fix: correct non-standard 'yml' tag to 'yaml' in RedisOpts

* fix: apply MaxActive config to Redis PoolSize

* fix: clarify config semantics, enhance timeout & pool options, and maintain backward compatibility

* test: update unit test for redis

* refactor: apply suggestions from code review

* test: add comprehensive coverage for redis

* refactor: resolve funlen linter errors in redis unit tests

* refactor: remove empty else-if branch in NewRedis function
2026-01-08 09:49:41 +08:00
Lien Li
24f812d187 feat: 支持Redis作为Cache的时候使用TLS (#834)
* feat: 支持Redis作为Cache的时候使用TLS

* feat: fix lint

* fix lint

* Update redis.go
2025-05-03 23:43:15 +08:00
一叶知秋
c22a036b7f fix: 增加一个用户信息接口 (#793) 2024-08-22 12:08:44 +08:00
okhowang
07b7dc40fc cache增加带Context版本,开放平台相关接口支持Context版本 (#653) 2023-04-03 20:32:44 +08:00
houseme
8e81a416c5 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>
2022-04-14 10:07:58 +08:00
JerryTam
d3d91b8d29 实例化Redis新增dialOpts参数以支持redis更多拨号设置 (#475)
* 实例化Redis新dialOpts参数以支持redis更多拨号设置

* debug

* gofmt file

* remove go.mod empty line

Co-authored-by: Jerry <prc.tzy@gmail.com>
2021-09-09 12:22:02 +08:00
houseme
96c1f98944 [feature] Format the code and improve Mini Program authorization to o… (#473)
* [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

Co-authored-by: houseme <houseme@outlook.com>
2021-09-08 11:03:23 +08:00
silenceper
c0da806e03 update golangci (#349)
* update golangci
2020-11-26 12:25:57 +08:00
silenceper
868b31cb3d fix golangci-lint failed (#284)
* fix golangci-lint error
2020-06-24 14:36:33 +08:00
silenceper
2af3f42055 增加SetRedisPool方法 (#265)
* 添加TODO:待完善接口

* 【模板消息】将message.DataItem改为message.TemplateDataItem

* fix PKG.DEV

* 增加一个 SetRedisPool 方法
2020-05-30 12:38:51 +08:00
silenceper
5e8e16444c 群发消息接口 (#259)
* 添加TODO:待完善接口

* 【模板消息】将message.DataItem改为message.TemplateDataItem

* 【群发消息】基本框架

* 群发消息-基本方法

* fix golint

* fix:SendWxCard log
2020-05-29 23:17:04 +08:00
silenceper
2e94f61043 解决冲突 2020-05-24 01:43:27 +08:00
Chuanjian Wang
3984f13c76 add memory cache 2018-12-19 20:01:23 +08:00
Chyroc
188703be23 add: user update-remark api
* add DecodeWithCommonError function
* add UpdateRemark method
2018-09-14 09:25:50 +08:00
Xian Zhao
a241ec4c14 cache.Redis增加SetConn方法,修改redis包地址 2018-05-09 15:48:11 +08:00
wenzl
5fc3e236e4 redis IdleTimeout 使用second 2017-10-26 15:10:39 +08:00
wenzl
00ab67f623 1.增加redis支持 2.memcached支持多类型缓存 2017-10-26 10:46:25 +08:00
wenzl
4333691b37 oauth2,jssdk 2016-09-15 01:39:15 +08:00
wenzl
d9075933c1 实现access_token获取 2016-09-11 13:16:15 +08:00