silenceper
42b0966049
Revert "feat: 小程序/公众号增加 openApi 管理。 ( #685 )"
...
This reverts commit 31f8e24994 .
2023-06-05 15:12:46 +08:00
sam
31f8e24994
feat: 小程序/公众号增加 openApi 管理。 ( #685 )
...
* feat: 小程序/公众号增加 openApi 管理。
* update: 修改字段名大小写。
* update: 修改字段名大小写。
* style: import 换行。
* update: openApi 管理放到内部包中。
2023-06-04 21:57:15 +08:00
sam
ae1b056515
feat: 公众号: 批量获取用户信息。 ( #686 )
...
* feat: 公众号: 批量获取用户信息。
* update: 公众号: 调整批量获取用户方法的输入参数。
* update: 公众号: 调整批量获取用户方法的输入参数。
2023-05-31 21:55:21 +08:00
jingyuexing
8bae546b77
Improve developer experience ( #681 )
...
* feat: 添加query 以及query单元测试
feat: 添加模板字符串解析以及模板字符串单元测试
* improve: 序列化请求参数,使得参数更易读
* delete: delete useless module
* format: format code
* docs: add function comment
* docs: comment method
* fix: fixed type convert error
* feat: support any type
* feat: support other type
* format: format code
* test: check logger
* format: format code
* test: udpate testing case
* del: remove useless code
* del: remove useless module
* test: update testing case
* ✨ feat: support for unsigned integers
* ✨ feat: template string support any type
2023-05-31 17:26:43 +08:00
markwang
9df943df69
企业微信userid与openid互换 ( #676 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* debug
* debug
* 获取用户信息
* token
* json.Marshal错误输出
* debug
* bugfix
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
* 企业微信-[联系我]方式列表、删除
* json.Marshal错误输出
* 已实现接口bug修改
* 历史接口bugfix
* 历史接口bugfix
* comment
* 企业微信:客户联系-消息推送;素材管理-上传图片
* fix
* 企业微信-获取群发记录列表
* 历史接口bugfix
* 1.企业微信-客户联系-消息推送-入群欢迎语素材管理
2.企业微信-通讯录管理-成员管理-获取成员ID列表
* golangci-lint
* gofmt
* 方法访问命名
* 企业微信-批量获取客户详情入参优化
* 企业微信-通讯录管理-标签管理-创建/更新/删除标签
* 请求地址常量无需导出
* 企业微信保持代码风格统一,接口URL不导出
* 企业微信-通讯录管理-标签管理-获取/增加/删除标签成员、获取标签列表
* feat:企业微信userid与openid互换
---------
Co-authored-by: wang.yu <wangyu@uniondrug.com >
Co-authored-by: markwang <www.wang61@qq.com >
v2.1.5
2023-05-16 19:22:56 +08:00
just5325
0a37184c2f
新增应用推送消息模块,实现部分常用消息推送:SendText 发送文本消息、SendImage 发送图片消息、SendVoice 发送语音消息 企业微信应用推送消息接口: https://qyapi.weixin.qq.com/cgi-bin/appchat/send ( #678 )
...
* 修正work.GetMessage()方法的注释信息
(cherry picked from commit 3dfaf9222910ae4ad977e2852908692d04118abc)
* 新增应用推送消息模块,实现部分常用消息推送:SendText 发送文本消息、SendImage 发送图片消息、SendVoice 发送语音消息
企业微信应用推送消息接口:https://qyapi.weixin.qq.com/cgi-bin/appchat/send
(cherry picked from commit 654ea158d6590a006a8c78ac3c38eafe361fe303)
2023-05-16 19:22:18 +08:00
Sunny
b4f243ab13
Fix:err != nil return nil ( #680 )
2023-05-16 19:20:40 +08:00
markwang
d92cd35533
企业微信-通讯录管理-标签管理-获取/增加/删除标签成员、获取标签列表 ( #674 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* debug
* debug
* 获取用户信息
* token
* json.Marshal错误输出
* debug
* bugfix
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
* 企业微信-[联系我]方式列表、删除
* json.Marshal错误输出
* 已实现接口bug修改
* 历史接口bugfix
* 历史接口bugfix
* comment
* 企业微信:客户联系-消息推送;素材管理-上传图片
* fix
* 企业微信-获取群发记录列表
* 历史接口bugfix
* 1.企业微信-客户联系-消息推送-入群欢迎语素材管理
2.企业微信-通讯录管理-成员管理-获取成员ID列表
* golangci-lint
* gofmt
* 方法访问命名
* 企业微信-批量获取客户详情入参优化
* 企业微信-通讯录管理-标签管理-创建/更新/删除标签
* 请求地址常量无需导出
* 企业微信保持代码风格统一,接口URL不导出
* 企业微信-通讯录管理-标签管理-获取/增加/删除标签成员、获取标签列表
---------
Co-authored-by: wang.yu <wangyu@uniondrug.com >
Co-authored-by: markwang <www.wang61@qq.com >
2023-05-08 11:56:48 +08:00
Mark
58621cd79d
fix CallbackMessage open_kfid and SyncMsg error ( #672 )
...
* 企业微信微信客服字段同步
* fix ci lint
* fix open_kfid xml Unmarshal error and 'syncMsg: field `open_kfid` unexpected empty string. invalid Request Parameter'
* add struct CallbackMessage xml tag
---------
Co-authored-by: liuyuezhong <liuyuezhong@inke.cn >
2023-04-19 16:21:04 +08:00
welllog
8821a3856d
feat: 获取稳定版接口调用凭据 ( #669 )
...
* feat: 获取稳定版接口调用凭据
* Update default_access_token.go
* fix: format code
---------
Co-authored-by: ctr <orinfy@foxmail.com >
Co-authored-by: houseme <housemecn@gmail.com >
2023-04-18 11:54:34 +08:00
Mark
4094adc5b4
企业微信微信客服字段同步 ( #670 )
...
* 企业微信微信客服字段同步
* fix ci lint
---------
Co-authored-by: liuyuezhong <liuyuezhong@inke.cn >
v2.1.5-rc.2
2023-04-18 11:07:06 +08:00
misu
cb0928a03c
获取企业微信实例,设置全局Cache ( #671 )
...
Co-authored-by: masong <misu99@github.com >
2023-04-18 11:06:39 +08:00
牛强
d6371c7289
chore: 移除 panic,转移 cache 初始化到 Wechat 结构体方法下;在使用时可以只设置一次 cache 同时避免 panic 出现 ( #668 )
2023-04-13 14:23:46 +08:00
okhowang
07b7dc40fc
cache增加带Context版本,开放平台相关接口支持Context版本 ( #653 )
2023-04-03 20:32:44 +08:00
Ace
01784c2a4a
fix:修复互通红包和视频号消息部分字段错误的数据类型声明 ( #663 )
...
* fix:修复消息存档内红包祝福语和视频号部分字段数据类型声明错误的问题
* docs:更新注释说明
* fix:校正互通红包内的数据结构声明类型
2023-04-03 20:31:58 +08:00
Guo yongrong
8bc1474777
增加发送图文消息(点击跳转到图文消息页面)使用通过 “发布” 系列接口得到的 article_id ( #664 )
...
Co-authored-by: handson@intonead.com <gyr@3332502!>
2023-04-03 18:13:25 +08:00
markwang
ca0b74e082
企业微信保持代码风格统一,接口URL不导出 ( #660 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* debug
* debug
* 获取用户信息
* token
* json.Marshal错误输出
* debug
* bugfix
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
* 企业微信-[联系我]方式列表、删除
* json.Marshal错误输出
* 已实现接口bug修改
* 历史接口bugfix
* 历史接口bugfix
* comment
* 企业微信:客户联系-消息推送;素材管理-上传图片
* fix
* 企业微信-获取群发记录列表
* 历史接口bugfix
* 1.企业微信-客户联系-消息推送-入群欢迎语素材管理
2.企业微信-通讯录管理-成员管理-获取成员ID列表
* golangci-lint
* gofmt
* 方法访问命名
* 企业微信-批量获取客户详情入参优化
* 企业微信-通讯录管理-标签管理-创建/更新/删除标签
* 请求地址常量无需导出
* 企业微信保持代码风格统一,接口URL不导出
---------
Co-authored-by: wang.yu <wangyu@uniondrug.com >
Co-authored-by: markwang <www.wang61@qq.com >
2023-04-03 17:06:07 +08:00
markwang
fbda048f62
企业微信-通讯录管理-标签管理-创建/更新/删除标签 ( #659 )
2023-03-21 23:58:37 +08:00
markwang
494082ff4f
企业微信-批量获取客户详情入参优化 ( #657 )
...
* 企业微信-批量获取客户详情入参优化
---------
Co-authored-by: wang.yu <wangyu@uniondrug.com >
Co-authored-by: markwang <www.wang61@qq.com >
2023-03-14 19:18:20 +08:00
johnpoint
9c0189340b
pref: 变量命名 & url ( #650 )
2023-02-14 12:04:44 +08:00
realpg
d39615f2fa
补全模板消息API中遗漏的 ‘防重入ID’ 参数 ( #651 )
...
client_msg_id:
防重入id。
对于同一个openid + client_msg_id, 只发送一条消息,10分钟有效,超过10分钟不保证效果。若无防重入需求,可不填
2023-02-11 23:50:33 +08:00
just5325
429219b53f
新增消息推送模块,实现部分常用消息推送:SendText 发送文本消息、SendImage 发送图片消息、SendVoice 发送语音消息 ( #649 )
...
企业微信消息推送接口:https://qyapi.weixin.qq.com/cgi-bin/message/send
2023-02-10 17:11:02 +08:00
johnpoint
6e80b71cb2
避免无效的access_token留在cache ( #645 )
2023-02-08 21:19:37 +08:00
Lien Li
ab354c4d03
feat: 支持企业微信上传临时素材 ( #644 )
2023-02-06 08:43:41 +08:00
daguang
d1d034eb95
oauth add snapshot user mark field ( #643 )
2023-01-29 11:58:00 +08:00
Lien Li
1a9dbc493b
feat:支持客户联系的服务端事件 ( #639 )
...
https://developer.work.weixin.qq.com/document/path/92130
2023-01-04 10:26:16 +08:00
Lien Li
04559ed4bb
fix:避免游标拼接异常导致取不到数据 ( #638 )
2023-01-03 10:07:45 +08:00
silenceper
abd583df01
fix #636 生成短链方法报commonError is invalid or not struct ( #637 )
2023-01-01 23:54:58 +08:00
xuannanxan
3cb741ae1a
企业微信客户群进群方式配置( #631 ) ( #632 )
v2.1.5-rc.1
2022-11-17 09:28:42 +08:00
markwang
da3859261b
企业微信-欢迎语素材管理,企业微信-获取成员ID列表 ( #629 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* debug
* debug
* 获取用户信息
* token
* json.Marshal错误输出
* debug
* bugfix
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
* 企业微信-[联系我]方式列表、删除
* json.Marshal错误输出
* 已实现接口bug修改
* 历史接口bugfix
* 历史接口bugfix
* comment
* 企业微信:客户联系-消息推送;素材管理-上传图片
* fix
* 企业微信-获取群发记录列表
* 历史接口bugfix
* 1.企业微信-客户联系-消息推送-入群欢迎语素材管理
2.企业微信-通讯录管理-成员管理-获取成员ID列表
* golangci-lint
* gofmt
* 方法访问命名
Co-authored-by: wang.yu <wangyu@uniondrug.com >
2022-10-20 14:34:51 +08:00
Mr. Yang
86ceb6af2f
增加小程序审核结果回调通知 ( #630 )
...
Co-authored-by: yanglaosan <yang88can@163.com >
2022-10-17 16:52:19 +08:00
markwang
243f8198ae
企业微信-客户联系-获取群发记录列表 ( #627 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* debug
* debug
* 获取用户信息
* token
* json.Marshal错误输出
* debug
* bugfix
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
* 企业微信-[联系我]方式列表、删除
* json.Marshal错误输出
* 已实现接口bug修改
* 历史接口bugfix
* 历史接口bugfix
* comment
* 企业微信:客户联系-消息推送;素材管理-上传图片
* fix
* 企业微信-获取群发记录列表
* 历史接口bugfix
Co-authored-by: wang.yu <wangyu@uniondrug.com >
v2.1.4
2022-10-12 10:03:08 +08:00
Mr. Yang
2bc0536c02
mini 开发平台代小程序实现业务逻辑完善 ( #623 )
...
* mini 代小程序实现业务逻辑完善
* mini fix ci
* fix ci1
Co-authored-by: yanglaosan <yang88can@163.com >
v2.1.4-rc.2
2022-10-10 10:08:53 +08:00
markwang
bbbada1b44
企业微信-获取群发记录列表 ( #621 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* debug
* debug
* 获取用户信息
* token
* json.Marshal错误输出
* debug
* bugfix
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
* 企业微信-[联系我]方式列表、删除
* json.Marshal错误输出
* 已实现接口bug修改
* 历史接口bugfix
* 历史接口bugfix
* comment
* 企业微信:客户联系-消息推送;素材管理-上传图片
* fix
* 企业微信-获取群发记录列表
Co-authored-by: wang.yu <wangyu@uniondrug.com >
2022-10-10 10:07:15 +08:00
okhowang
5380d5bee7
GetAccessToken支持Context ( #618 )
2022-09-29 14:33:53 +08:00
markwang
a03f3f9f32
企业微信新增接口:素材管理、企业群发 ( #620 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* debug
* debug
* 获取用户信息
* token
* json.Marshal错误输出
* debug
* bugfix
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
* 企业微信-[联系我]方式列表、删除
* json.Marshal错误输出
* 已实现接口bug修改
* 历史接口bugfix
* 历史接口bugfix
* comment
* 企业微信:客户联系-消息推送;素材管理-上传图片
* fix
Co-authored-by: wang.yu <wangyu@uniondrug.com >
2022-09-29 14:31:52 +08:00
markwang
9d8b803b33
企业微信历史接口bugfix ( #619 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* debug
* debug
* 获取用户信息
* token
* json.Marshal错误输出
* debug
* bugfix
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
* 企业微信-[联系我]方式列表、删除
* json.Marshal错误输出
* 已实现接口bug修改
* 历史接口bugfix
* 历史接口bugfix
* comment
Co-authored-by: wang.yu <wangyu@uniondrug.com >
2022-09-27 09:59:56 +08:00
chcthink
5e0c31bfa9
feat(work): 企业微信接口增加 ( #617 )
...
* feat(work): 企业微信接口增加
群机器人 查询成员信息
* 变更
* fix(fix): 修复lint 报错
* fix: 删除注释多余字符
2022-09-23 09:14:54 +08:00
markwang
9ad8981ff0
历史接口bugfix ( #614 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* debug
* debug
* 获取用户信息
* token
* json.Marshal错误输出
* debug
* bugfix
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
* 企业微信-[联系我]方式列表、删除
* json.Marshal错误输出
* 已实现接口bug修改
* 历史接口bugfix
Co-authored-by: wang.yu <wangyu@uniondrug.com >
2022-09-21 14:36:48 +08:00
Feng
57fd96454c
fix: UniformMessage form field name ( #611 )
2022-09-13 12:35:20 +08:00
markwang
d09d706946
历史接口bugfix ( #612 )
2022-09-13 12:20:34 +08:00
gzylg
88fc6465bb
公众号用户黑名单管理 ( #609 )
2022-08-31 22:50:51 +08:00
markwang
b3cb101899
企业微信-客户联系实现以及json.Marshal错误输出 ( #608 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* debug
* debug
* 获取用户信息
* token
* json.Marshal错误输出
* debug
* bugfix
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
* 企业微信-[联系我]方式列表、删除
* json.Marshal错误输出
Co-authored-by: wang.yu <wangyu@uniondrug.com >
2022-08-25 10:03:40 +08:00
markwang
86e036a55b
企业微信-[联系我]方式列表、删除 ( #606 )
2022-08-23 22:07:48 +08:00
houseme
a8f7a24ff6
feat: improve comment and upgrade golang version 1.16 ( #604 )
...
* feat: improve action config and code comment
* feat: improve comment and upgrade golang version 1.16
* feat: improve import
2022-08-23 10:13:24 +08:00
markwang
df62164811
企业微信-[联系我]方式更新 ( #605 )
...
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* 企业微信-客户联系-统计管理
* debug
* rollback
* json.Marshal错误输出
* 企业微信-通讯录管理相关接口
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-通讯录管理
* 企业微信-[联系我]方式新增和查询
* 企业微信-[联系我]方式新增和获取
* 企业微信-[联系我]方式更新
Co-authored-by: wang.yu <wangyu@uniondrug.com >
2022-08-22 14:28:52 +08:00
markwang
0160f99045
企业微信-[联系我]方式新增和获取 ( #603 )
2022-08-19 21:45:11 +08:00
yechuzheng
430c60a36e
fix: 将小程序数据统计UserPortraitItem结构体的access_source_visit_uv改为value ( #602 )
...
Co-authored-by: Yechuzheng <yechuzheng@uino.com >
2022-08-15 19:13:05 +08:00
markwang
cac3072199
企业微信-通讯录管理 ( #601 )
2022-08-14 19:54:33 +08:00
Wangrong
37f9e981d6
客服管理功能添加 ( #600 )
2022-08-13 12:24:12 +08:00