wwek
8409760713
feat(kf): 获取客户基础信息支持 need_enter_session_context 及进入会话上下文返回 ( #894 )
2026-11-04 22:22:31 +08:00
ccfish
ad48392a5b
feat(miniprogram): 添加学生身份核验和通用API调用功能 ( #893 )
...
* feat: 添加 微信物流服务 /微信物流服务(商家查看) /消息组件
* fix lint issues
* fix: 查询运单详情信息返回结果结构
* 追加官方文档地址
* feat: 追加接口【微信物流服务 /微信物流服务(商家查看) /查询组件】
* fix: comments
* fix: indents
* feat(miniprogram): 添加学生身份核验和通用API调用功能
- 新增学生身份核验模块,支持快速获取学生身份接口
- 添加通用API调用功能,用于访问SDK尚未封装的小程序接口
- 实现GET/POST请求及响应解码的通用方法
- 在文档中补充学生身份相关API说明
2026-09-29 16:25:30 +08:00
GargantuaX
2bc22dc4ae
feat: add aispeech dialog APIs ( #887 )
...
* feat: add aispeech dialog APIs
* test: fix aispeech lint failures
* test: satisfy aispeech interfacer lint
v2.1.14
2026-07-20 14:10:56 +08:00
劣头 and SuperX
0e34286d78
fix(external_user): 修复外部联系人结构体字段类型并格式化对齐 ( #890 )
...
将ExternalProfile字段从字符串类型修正为指针结构体类型,适配企业微信API返回的JSON对象格式;同时对齐所有结构体字段的JSON标签,提升代码可读性
Co-authored-by: SuperX <xiang.song@todreamer.com >
2026-06-23 14:44:44 +08:00
muzimu
fb3009e337
fix: 修复memory cache并发问题 ( #889 )
2026-06-15 18:11:33 +08:00
wwek
d34af7aeeb
feat(virtualpayment): ✨ 添加 postJSONBytesContext 函数并更新相关调用 解决body签名不一致问题 ( #886 )
...
* fix typo
* feat(virtualpayment): ✨ 添加广告金相关接口及错误码
- 新增批量任务、退款、广告金充值等相关错误码
- 添加下载订单、查询商家账户余额、查询广告金发放记录等接口
- 实现投诉处理相关接口,包括获取投诉列表、投诉详情、协商历史等
- 完善上传媒体文件及获取签名头部的功能
* feat(virtualpayment): ✨ 优化请求地址组合逻辑,合并多个 case 语句
* 补充虚拟支付道具发货拼团字段
* fix(virtualpayment): 🐛 修正退款错误码注释拼写和商户订单号字段名称
* feat(virtualpayment): ✨ 添加 iOS Apple 支付退款问询事件及相关数据结构
* feat(virtualpayment): ✨ 优化 iOS Apple 支付退款问询事件的注释格式
* feat(virtualpayment): ✨ 添加 postJSONBytesContext 函数并更新相关调用
* fix(miniprogram): ShowSplashAd 传 false 时未序列化发送到微信 API
将 ShowSplashAd 从 bool 改为 *bool,解决 omitempty 导致 false 值
被当作零值省略的问题。微信 API 默认值为 true(展示广告),传 false
无法关闭封面广告。
Closes #882
2026-06-03 23:31:15 +08:00
wwek
bfbfc844ce
feat(virtualpayment): 虚拟支付对齐微信最新api接口文档 ( #885 )
...
* fix typo
* feat(virtualpayment): ✨ 添加广告金相关接口及错误码
- 新增批量任务、退款、广告金充值等相关错误码
- 添加下载订单、查询商家账户余额、查询广告金发放记录等接口
- 实现投诉处理相关接口,包括获取投诉列表、投诉详情、协商历史等
- 完善上传媒体文件及获取签名头部的功能
* feat(virtualpayment): ✨ 优化请求地址组合逻辑,合并多个 case 语句
* 补充虚拟支付道具发货拼团字段
* fix(virtualpayment): 🐛 修正退款错误码注释拼写和商户订单号字段名称
* feat(virtualpayment): ✨ 添加 iOS Apple 支付退款问询事件及相关数据结构
* feat(virtualpayment): ✨ 优化 iOS Apple 支付退款问询事件的注释格式
2026-05-22 01:00:39 +08:00
vvfan and niuweifan
269d93ea6f
fix: avoid using empty jsapi ticket from cache ( #883 )
...
Co-authored-by: niuweifan <niuweifan@66nao.com >
2026-05-18 22:43:20 +08:00
markwang
e4fc0bd615
feat: 企业微信-客户联系-结束临时会话 ( #878 )
v2.1.12
v2.1.13
2026-02-11 14:22:54 +08:00
markwang
20a8183e88
feat: 企业微信-登录二次验证 ( #877 )
2026-01-27 09:57:57 +08:00
曹晶 and lumiaqian
f0f35e2f77
feat(miniprogram): add intracity delivery service APIs ( #875 )
...
* feat(media): add getTempFile api
add getTempFile api
* feat(miniprogram): add intracity delivery service APIs
Add WeChat intracity (same-city) delivery service APIs including:
- Store management: Apply, Create, Query, Update store
- Payment: StoreCharge, StoreRefund, QueryFlow, BalanceQuery
- Order management: PreAddOrder, AddOrder, QueryOrder, CancelOrder
Ref: https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/express/business/intracity_service.html
---------
Co-authored-by: lumiaqian <cjj1@truesightai.com >
2026-01-22 19:18:52 +08:00
markwang
eebfb93386
feat: 企业微信-获取成员UserID ( #876 )
2026-01-22 19:18:35 +08:00
markwang
9b028e5368
feat: 企业微信-通讯录管理-成员管理新增接口 ( #874 )
...
* feat: 企业微信-通讯录管理-成员管理新增接口
* feat: 企业微信-通讯录管理-成员管理新增接口
2026-01-20 16:15:09 +08:00
markwang
2bfc250f21
feat: 企业微信-通讯录管理-成员管理新增接口 ( #873 )
2026-01-16 23:31:39 +08:00
markwang
f0866babb5
feat: 企业微信-打卡规则支持配置大小周规则 ( #872 )
2026-01-14 12:54:39 +08:00
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
markwang
78c00a9124
fix: 企业微信-营销获客更新 ( #871 )
2025-12-30 18:00:01 +08:00
yin jiashuai and 阴佳帅
54f08cbd73
update:小程序ocr识别 refs#864 ( #865 )
...
* update:小程序ocr识别
* fix:删除ResPlateNumber
---------
Co-authored-by: 阴佳帅 <14988374+yin-jiashuai@user.noreply.gitee.com >
v2.1.11
2025-11-16 21:46:49 +08:00
markwang
c34ff2031b
fix: 企业微信-通讯录管理-更新成员企业邮箱别名参数类型修正 ( #863 )
2025-11-13 14:13:14 +08:00
is-Xiaoen
30c8e77246
fix: improve type safety in httpWithTLS for custom RoundTripper ( #861 )
...
* fix: improve type safety in httpWithTLS for custom RoundTripper
Add type assertion check to handle cases where DefaultHTTPClient.Transport
is a custom http.RoundTripper implementation (not *http.Transport).
This improves upon the fix in PR #844 which only handled nil Transport.
The previous code would still panic if users set a custom RoundTripper:
trans := baseTransport.(*http.Transport).Clone() // panic if not *http.Transport
Now safely handles three scenarios:
1. Transport is nil -> use http.DefaultTransport
2. Transport is *http.Transport -> clone it
3. Transport is custom RoundTripper -> use http.DefaultTransport
Added comprehensive test cases:
- TestHttpWithTLS_NilTransport
- TestHttpWithTLS_CustomTransport
- TestHttpWithTLS_CustomRoundTripper
Related to #803
* refactor: reduce code duplication and complexity in httpWithTLS
- Eliminate duplicate http.DefaultTransport.Clone() calls
- Reduce cyclomatic complexity by simplifying conditional logic
- Use nil check pattern instead of nested else branches
- Maintain same functionality with cleaner code structure
This addresses golangci-lint warnings for dupl and gocyclo.
* fix: add newline at end of http_test.go
Fix gofmt -s compliance issue:
- File must end with newline character
- Addresses golangci-lint gofmt error on line 81
This fixes CI check failure.
v2.1.10
2025-10-27 14:24:24 +08:00
mahongran
6f6e95cfdb
将SubscribeMsgSentList结构中的ErrorCode类型从int更新为string ( #859 )
2025-10-24 20:49:24 +08:00
silenceper
c806a0c172
Add star badge to README
2025-10-24 17:37:01 +08:00
zhangjiani and tax
c136b878ce
调整企微回调URL参数tag,兼容kratos框架 ( #855 )
...
* fix: handle JSON parse error when API returns binary file instead of error JSON
* fix: add JSON tags to SignatureOptions struct fields for proper serialization
* fix: mod module
* fix: rollback
---------
Co-authored-by: tax <jia_deng@intsig.net >
2025-09-19 11:16:52 +08:00
zhangjiani and tax
d4a81916d5
fix: handle JSON parse error when API returns binary file instead of error JSON ( #852 )
...
Co-authored-by: tax <jia_deng@intsig.net >
2025-09-14 19:47:00 +08:00
Outyua
ef1372b98a
fix BatchGetExternalUserDetails to return NextCursor in response ( #849 )
v2.1.10-rc.1
2025-08-18 15:51:30 +08:00
silenceper
0d666b60ba
update readme ( #848 )
...
* update readme
* update readme
* update readme
2025-07-29 23:31:01 +08:00
silenceper
e1122d42b0
Update FUNDING.yml
2025-07-29 23:13:42 +08:00
silenceper
be3f0d8bd5
Update FUNDING.yml
2025-07-29 22:52:50 +08:00
silenceper
66f9794d2f
Update FUNDING.yml ( #847 )
2025-07-29 22:41:02 +08:00
silenceper
ee5f045b89
fix panic ( #844 )
2025-07-24 09:59:13 +08:00
silenceper
d35f0f0865
Ai dev ( #846 )
...
* add Claude Code workflow
* add Claude Code model
2025-07-23 23:43:46 +08:00
silenceper
bbad169706
add Claude Code workflow ( #845 )
2025-07-23 22:56:33 +08:00
ccfish
5927c26152
追加接口【微信物流服务 /微信物流服务(商家查看) /查询组件】 ( #843 )
...
* feat: 添加 微信物流服务 /微信物流服务(商家查看) /消息组件
* fix lint issues
* fix: 查询运单详情信息返回结果结构
* 追加官方文档地址
* feat: 追加接口【微信物流服务 /微信物流服务(商家查看) /查询组件】
* fix: comments
* fix: indents
2025-07-21 10:13:47 +08:00
markwang
8ebff5c29c
feat: 微信小程序-运维中心 ( #838 )
...
* feat: 微信小程序-运维中心
* feat: 微信小程序-运维中心
* feat: 微信小程序-运维中心
* feat: 微信小程序-运维中心
2025-07-14 16:16:44 +08:00
ccfish
86ef690ecd
feat: 添加 微信物流服务 /微信物流服务(商家查看) /消息组件 ( #842 )
2025-07-05 09:01:15 +08:00
markwang
ee85790123
微信小程序-数据分析-获取小程序性能数据 ( #837 )
...
* feat: 微信小程序-数据分析-性能数据
* feat: 微信小程序-数据分析-性能数据
* feat: 微信小程序-数据分析-性能数据
2025-07-01 19:14:44 +08:00
markwang
8a810837a4
feat: 微信小程序-动态消息及订阅消息 ( #835 )
...
* feat: 微信小程序-动态消息及订阅消息
* feat: 微信小程序-动态消息及订阅消息
* feat: 微信小程序-动态消息及订阅消息
v2.1.9
2025-06-18 16:16:43 +08:00
yahuian
c51d41ee8a
security 模块增加 context 调用函数 ( #836 )
2025-06-18 16:14:10 +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
markwang
dd43b7baa3
feat: 微信小程序-小程序链接 ( #833 )
...
* feat: 微信小程序-小程序链接
* feat: 微信小程序-小程序链接
2025-05-01 10:19:19 +08:00
markwang
2dfd2ff608
feat: 微信小程序-登录及用户信息 ( #830 )
...
* feat: 微信小程序-登录及用户信息
* feat: 微信小程序-登录及用户信息
v2.1.9-rc.1
2025-04-27 10:09:31 +08:00
litterGuy
23bb10b0c9
fix: ImageUpload 接口报错 'media data missing hint:' ( #832 )
2025-04-27 10:08:51 +08:00
lizhuang
b639d2235d
Add JSSDK context method functionality ( #828 )
...
* Add JSSDK context method functionality
* 善JSSDK上下文方法,并添加测试文件
* feat: 完善JSSDK上下文方法,保证协程安全,并添加测试文件
* 修改 import 包分组处理
* feat: 修改测试文件中 fmt.Print -> t.Log
* 删除空行
2025-04-23 14:14:16 +08:00
wwek
26d2093bd7
fix typo ( #831 )
2025-04-22 19:40:57 +08:00
曹晶 and caojing
cf42cd8d54
feat: 添加获取成员多次收消息详情API ( #824 )
...
* feat(media): add getTempFile api
add getTempFile api
* feat: 添加获取成员多次收消息详情API
- 添加customerAcquisitionGetChatInfoURL常量
- 实现GetChatInfo方法及相关请求/响应结构体
- 支持企业微信获客助手多次收消息功能
---------
Co-authored-by: caojing <jingjing.cao@trustbe.cn >
2025-04-21 10:44:12 +08:00
markwang
85ee45580b
feat: 企业微信-打卡-添加打卡记录 ( #829 )
2025-04-21 10:42:47 +08:00
markwang
208d5c528a
feat: 企业微信-打卡-新增返回字段 ( #827 )
2025-04-18 20:08:21 +08:00
markwang
b5f9a8933e
企业微信-通讯录管理-更新成员接口,支持更新企业邮箱别名 ( #826 )
...
* feat: 企业微信-通讯录管理,新增更新成员、更新部门、删除部门方法
* feat: 企业微信-通讯录管理-更新成员接口,支持更新企业邮箱别名
2025-04-18 14:13:26 +08:00
52fb5596d3
修改最新版本的授权地址 ( #823 )
...
* Update accessToken.go
add openplatform refresh_token
* Update accessToken.go
openplatform add refresh_token expire set 10 year
* Update openplatform/context/accessToken.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update accessToken.go
修改最新的授权H5链接地址
* Update accessToken.go
增加新版本授权链接
* Update accessToken.go
增加新版本授权链接
---------
Co-authored-by: houseme <housemecn@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-03-31 10:51:46 +08:00
44150c557e
微信开放平台增加refreshtoken缓存 ( #822 )
...
* Update accessToken.go
add openplatform refresh_token
* Update accessToken.go
openplatform add refresh_token expire set 10 year
* Update openplatform/context/accessToken.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: houseme <housemecn@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-03-28 11:38:57 +08:00