施国鹏
d4fd145bb5
add: oauth 添加 ctx, 且增加 GetUserInfoByCodeCtx 方法快速获取用户信息 ( #747 )
...
* add: oauth 添加 ctx, 且增加 GetUserInfoByCodeCtx 方法快速获取用户信息
* fix: code style
* fix: white space
---------
Co-authored-by: seth-shi <shiguopeng@mampod.com >
2023-11-02 09:38:42 +08:00
Thinker
038037b89d
feat: 企业微信-打卡-日报与月报数据 ( #733 )
...
* feat: 企业微信-打卡-日报数据
* feat: 企业微信-打卡-月报数据
* refactor:重命名checkin为record(该文件内所有方法均为获取记录)
* refactor:修改字段名称以符合golint标准
* fix: ineffectual assignment to err
2023-10-10 22:10:10 -05:00
曹晶
479ff1f242
feat(work): AddMsgTemplate api add params allow_select chat_id_list tag_filter ( #730 )
...
* feat(work): add params allow_select chat_id_list tag_filter
add params allow_select chat_id_list tag_filter
* feat(work): add params allow_select chat_id_list tag_filter
add params allow_select chat_id_list tag_filter
2023-10-10 19:32:22 +08:00
markwang
3f1c5e7637
企业微信-移除可省略的错误判断 ( #734 )
...
Co-authored-by: markwang <www.wang61@qq.com >
2023-10-10 19:31:23 +08:00
曹晶
da5067bcb2
fix(work): fix json Unmarshal Error in GetExternalUserDetail api ( #732 )
...
fix json Unmarshal Error, err=json: cannot unmarshal number into Go struct field
WechatChannel.follow_user.wechat_channels.source of type string
2023-10-09 02:02:37 -05:00
houseme
8f10936479
fix: util.DecodeWithError result ( #729 )
2023-10-07 12:55:11 +08:00
曹晶
9bfebc8a27
fix(work): fix DepartmentGet with commonError is invalid or not struct ( #728 )
...
fix DepartmentGet with commonError is invalid or not struct
2023-09-25 14:15:33 +08:00
silenceper
4f6cbc3d59
remove goreleaser ( #727 )
2023-09-24 20:24:15 +08:00
markwang
49c4cfaf54
fix:GetAccessTokenContext从cache中获取字符窜为空时,从微信服务器获取 ( #721 )
...
Co-authored-by: markwang <www.wang61@qq.com >
v2.1.6-rc.2
2023-09-24 10:47:43 +08:00
曹晶
ead8a6fadb
fix(work): fix UserGet api error userid not found ( #723 )
...
fix UserGet api error userid not found
2023-09-24 10:46:38 +08:00
曹晶
ae40639b56
feat(work): add DepartmentGet api ( #718 )
...
get single department detail
2023-09-24 10:46:18 +08:00
曹晶
8bb145155e
fix(work): fix GroupChatMember struct without State ( #717 )
...
fix GroupChatMember struct without State in joinway config
2023-09-24 10:45:43 +08:00
febelery
85bf989242
feat: 添加发放红包接口 ( #726 )
...
* feat: 添加发放红包接口
* feat: 添加发放红包接口
* chore: golang ci lint
---------
Co-authored-by: ross <ross@ross.ross >
2023-09-24 10:44:18 +08:00
Feng
b4f2d1793c
feat: Add Checkin ( #719 )
...
* feat: Add Checkin
- Implement 'getcheckindata' API
* refactor: Change variable names
* refactor: Change struct name
2023-09-24 10:43:41 +08:00
曹晶
4a2c44c7c8
Feature/upload attachment ( #720 )
...
* feat(work): add UploadAttachment API
add UploadAttachment API
* feat(work): add UploadAttachment API
add UploadAttachment API
* feat(work): add UploadAttachment API
add UploadAttachment API
2023-09-24 10:43:11 +08:00
markwang
9e810be88a
feat:企业微信-微信客服-知识库 ( #715 )
...
* feat:企业微信-微信客服=知识库
* fix:golangci-lint
* fix:移除非必要的err判断
---------
Co-authored-by: markwang <www.wang61@qq.com >
2023-09-04 20:15:13 +08:00
markwang
06719f77b7
feat:企业微信-微信客服-统计管理 ( #707 )
...
Co-authored-by: markwang <www.wang61@qq.com >
2023-08-31 14:36:22 +08:00
markwang
b70ecd93a7
feat:企业微信-消息推送新增接口 ( #705 )
...
Co-authored-by: markwang <www.wang61@qq.com >
2023-08-31 14:34:13 +08:00
ccfish
dea33e0e48
小程序消息推送 ( #713 )
...
* 小程序消息推送
* fix lint errors
* fix lint
* fix lint
* fix lint,
* 简化写法
* fix 简化写法
* fix name in comments
* add events
* change GoodsInfo type
* change statements to 50
* 追加xml支持
* fix cl lint
2023-08-27 19:13:00 +08:00
ccfish
e02af1dc0f
小程序发货信息管理 ( #710 )
...
* 小程序发货信息管理
* fix golang lint
* fix miss
* fix lint
* fix lint
* fix lint
* 修复查询参数last_index=“”时异常
* Update miniprogram.go
2023-08-27 11:25:05 +08:00
曹晶
c81d0b1215
feat: ✨ 企业微信-客户联系-获客助手 ( #704 )
2023-08-25 18:28:21 +08:00
Feng
da80430065
feat: Add APIs for User and Department ( #712 )
2023-08-25 18:27:30 +08:00
houseme
cc201fcece
feat: create Mini Program entertainment mini-drama related interface ( #711 )
2023-08-25 18:02:46 +08:00
houseme
26b0aacb4c
feat: create mini program virtual payment ( #709 )
2023-08-21 22:09:30 +08:00
markwang
7df3fe1a09
feat:企业微信-客户联系-客户朋友圈 ( #702 )
...
* feat:企业微信-客户联系-客户朋友圈
* fix:golangci-lint
---------
Co-authored-by: markwang <www.wang61@qq.com >
2023-07-31 19:32:34 +08:00
markwang
5a23c5c780
feat:企业微信-客户联系-在职继承/离职继承 ( #699 )
...
Co-authored-by: markwang <www.wang61@qq.com >
2023-07-15 23:58:24 +08:00
黄翠刚
c84eb7b550
新增获取部门列表接口: https://qyapi.weixin.qq.com/cgi-bin/department/list ( #698 )
2023-07-15 23:56:53 +08:00
ourines
45ad2ab8ca
调整结构体中CreateTime ( #691 )
...
* fix: 修改FollowInfo结构体中的tag标签为createtime
* fix: 统一CreateTime为int64
* chore: format
* chore: format
v2.1.6-rc.1
2023-06-30 09:54:12 +08:00
txws
5d0e32e2ea
微信开放平台 消息与事件url 添加result_info ( #696 )
...
* add result_info
* edit result_info
* edit-01 result_info
* 开放平台message添加小程序名称审核字段
2023-06-30 09:53:01 +08:00
markwang
822cfaa6c8
feat:企业微信-身份验证-获取用户身份及敏感信息 ( #692 )
...
Co-authored-by: markwang <www.wang61@qq.com >
2023-06-30 09:52:44 +08:00
markwang
acaab64fe7
feat:企业微信-客户联系-规则组/规则组标签 ( #697 )
...
Co-authored-by: markwang <www.wang61@qq.com >
2023-06-30 09:51:36 +08:00
markwang
b12825f83b
feat:企业微信-电子发票 ( #695 )
...
Co-authored-by: markwang <www.wang61@qq.com >
2023-06-21 17:31:08 +08:00
okhowang
86cbd8c0b2
feat: 微信回调消息增加菜单ID字段 ( #694 )
...
close #693
2023-06-16 18:07:15 +08:00
markwang
46c3722308
feat:企业微信-通讯录管理-互联企业 ( #688 )
2023-06-12 13:34:56 +08:00
houseme
7d11af713b
feat: improve workflows config and upgrade action version ( #690 )
2023-06-11 12:08:38 +08:00
silenceper
fafb1784da
Update go.yml: 指定golangci-lint 版本为v1.52.2 ( #689 )
2023-06-09 20:35:49 +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