愉悦の祈
8fe9e6dcb6
fix: 统一服务信息,公众号消息模板字段bug ( #547 )
2022-04-20 19:32:59 +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
lyj
1b5c5fba67
Bug fix: omitempty关键字,给它赋的值恰好等于默认空值的话,在转为 json 之后也不会输出这个 field ( #539 )
2022-02-28 10:38:46 +08:00
save95
5c4b28acee
add: 增加公众号「发布能力」接口(#530) ( #531 )
...
* add: 增加公众号「发布能力」接口(#530)
* fix: go lint
* fix: 修复响应结构体及解析方式
* add: 增加公众号「草稿箱」接口(#530)
* fix: text
* mod: 增加 发布任务完成 消息事件
Co-authored-by: luoyu <luoyu@medlinker.com >
v2.1.2
2022-02-14 10:19:55 +08:00
wby
80ce4aefc4
微信小程序新版获取手机号授权接口 ( #528 )
v2.1.1-rc.1
2022-01-11 18:22:07 +08:00
Afeyer
0d915d203b
docs:更新会话存档README.md文件内的示例代码 ( #527 )
2022-01-09 13:02:48 +08:00
zxr615
172c4abde5
通过component_verify_ticket 获取 ComponentAccessToken 错误处理 ( #521 )
2022-01-05 09:13:25 +08:00
silenceper
2f898f80f6
fix SdkFileID ( #520 )
2021-12-31 11:35:05 +08:00
wby
4721f7567b
支持微信小程序隐私接口 ( #518 )
...
* save
* set privacy
* 完善小程序隐私设置接口
* fix privacy desc
* 移除gitpod定义文件,api响应解析改用公共方法
* use DecodeWithCommonError
* fix ci
* fix ci
* fix other package ci
* fix err
2021-12-28 14:34:50 +08:00
意琦行
9cecda0469
小程序码、URL Link 增加参数(#502,#512) ( #514 )
...
* 小程序码、URL Link 增加参数(#502,#512)
* gofmt
2021-12-07 19:05:37 +08:00
silenceper
83e223999b
add .goreleaser.yml
...
Signed-off-by: silenceper <silenceper@gmail.com >
v2.1.0
v2.1.0-rc.1
2021-12-06 11:32:49 +08:00
silenceper
e068d53dcb
Create release.yml
2021-12-06 11:19:25 +08:00
杨成锴
8c87c49f2a
update: 统一消息类型 ( #511 )
2021-12-03 20:45:11 +08:00
Afeyer
74053fe6ef
feat: 微信客服会话变更事件支持查看客服账号ID ( #510 )
2021-11-15 19:16:12 +08:00
ixugo
566c3c27cb
增加订阅通知事件 ( #509 )
2021-11-15 17:06:50 +08:00
Afeyer
dc24ad4262
feat: 微信客服会话状态变更时支持发送回复语 ( #505 )
2021-11-15 17:05:13 +08:00
Afeyer
05ec6a42ae
docs:更新接口消息发送限制说明文档 ( #504 )
2021-11-05 17:37:27 +08:00
Afeyer
efad41bcda
pref: 优化全局错误提示 ( #503 )
2021-11-01 10:07:48 +08:00
Afeyer
3fb288d932
feat: 微信客服支持发送欢迎语 ( #496 )
2021-10-08 19:37:40 +08:00
Afeyer
f5f401e76c
doc: 更新微信客服 API 文档 ( #495 )
...
* doc: 更新微信客服 API 文档
* chore: 解决【升级服务】标题显示异常的问题
2021-09-30 22:34:42 +08:00
Afeyer
ab4f427647
feat:微信客服支持获取视频号绑定状态 ( #493 )
2021-09-30 17:31:30 +08:00
silenceper
a9ae64ef63
add work api doc ( #494 )
2021-09-30 16:50:29 +08:00
silenceper
83621a38c6
Update README.md
2021-09-30 16:09:55 +08:00
silenceper
4937f019a0
梳理API列表 ( #491 )
...
* api梳理
* 完善客服管理api doc
2021-09-30 16:01:47 +08:00
Afeyer
e9489625c6
feat:微信客服支持通过接口转接人工会话 ( #492 )
2021-09-30 12:13:10 +08:00
houseme
f74869e61c
Transfer to wallet returns pointer object ( #489 )
...
* [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
Co-authored-by: houseme <houseme@outlook.com >
2021-09-27 19:35:16 +08:00
owen.gxz
fd96154231
增加注册审核事件推送消息 ( #487 )
...
* 消息类型增加快速注册企业小程序回调参数
* 代码格式化
* 更改常量名称
* 更改注解
Co-authored-by: 高震 <gaozhen@gaozhendeMacBook-Pro.local >
2021-09-26 14:15:31 +08:00
Afeyer
8621e06a01
feat: 完善微信客服常用的错误类型 ( #486 )
...
* feat:微信客服支持向客户发送欢迎语
* chore: go fmt file
* feat:移除空白文件
* doc:完善菜单消息内的注释文档
* feat: 完善微信客服常用的错误类型
* refactor: 优化SDK错误生成函数
2021-09-26 10:38:52 +08:00
okhowang
1e2f909f34
小程序auth增加Context接口 ( #483 )
2021-09-17 10:11:22 +08:00
okhowang
00b13cda0d
增加iv校验 ( #482 )
2021-09-16 12:21:40 +08:00
Afeyer
c021336a3c
doc:完善菜单消息内的注释文档 ( #479 )
...
* feat:微信客服支持向客户发送欢迎语
* chore: go fmt file
* feat:移除空白文件
* doc:完善菜单消息内的注释文档
v2.0.9
2021-09-13 19:20:16 +08:00
youkjw
9294950ab5
修复不传sign_type导致request sign_type无默认值的bug ( #480 )
...
* 接入关闭订单
* test
* 删除testing,过不了ci
* 避免err覆盖
* 修复不传sign_type导致request sign_type无默认值的bug
* 修复不传sign_type导致request sign_type无默认值的bug
Co-authored-by: liujianwei <liujianwei@linghit.com >
2021-09-13 18:58:56 +08:00
Afeyer
d776f5c400
feat:微信客服支持向客户发送欢迎语 ( #478 )
...
* feat:微信客服支持向客户发送欢迎语
* chore: go fmt file
* feat:移除空白文件
2021-09-13 10:07:18 +08:00
Afeyer
bc9f483c8e
feat: 菜单消息支持发送结束文本 ( #477 )
...
* feat:菜单消息支持发送结束文本
Co-authored-by: Afeyer <afeyer@h5base.cn >
2021-09-10 10:08:49 +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 >
v2.0.9-rc.2
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
George Wang
47adf42208
修复微信支付缺少notify_url的bug ( #472 )
2021-09-08 10:11:06 +08:00
youkjw
39ed108b11
接入微信关闭订单 ( #471 )
...
* 接入关闭订单
* test
* 删除testing,过不了ci
* 避免err覆盖
Co-authored-by: liujianwei <liujianwei@linghit.com >
2021-09-07 16:07:23 +08:00
George Wang
f767b72872
增加urllink ( #465 )
...
* 增加urllink
* urllink.Generate返回string作为结果
2021-09-06 20:53:29 +08:00
Daguang
d3f1a83d46
增加shortlink.generate ( #467 )
...
* init
* init
* init
* 小程序 shortLink
2021-09-06 12:19:17 +08:00
silenceper
db205405ee
针对会话存档,增加tags条件编译,避免默认编译不通过 ( #460 )
2021-09-03 16:47:06 +08:00
Afeyer
e1ef3ea160
feat:暴露接待人员ID到消息列表 ( #461 )
...
* 添加微信客服SDK
* polish:优化签名函数
* polish:优化注释内容
* polish:复用已有的Token以及CommonError,移除无用的输出
* polish:复用已有的消息加解密
* fix:修复错误信息被覆盖的问题
* polish:go fmt 文件
* polish:客服链接支持自定义参数并更新注释文档内容
* feat:支持微信客服回调请求的校验和消息的解析,复用原有的Signature和DecryptMsg方法
* feat:对外暴露SDKApiForbidden等错误
可以通过调用升级服务相关接口然后根据该错误判断微信客服配置来源
* feat:添加无效的open_kfid错误信息
* fix: 添加SDKApiNotOpen 错误信息
目前主要用于判断客户是否关闭了API授权,如果客户关闭了API功能导致服务异常,则可以引导用户执行相应的操作重新开启改功能
* feat:暴露接待人员ID到消息列表
无需对消息进行序列化即可直接获取接待人员ID,便于处理接待人员的相关业务,例如:统计接待人员当天应答次数
* feat: 添加SDKNotUseInWeCom错误信息
如果SDK输出当前错误,则说明用户在企业微信后台关闭了微信客服功能,需引导用户重新开启该功能
Co-authored-by: Afeyer <afeyer@h5base.cn >
2021-09-03 16:46:44 +08:00
silenceper
b9f0e8368d
Update README.md ( #457 )
2021-08-31 20:29:49 +08:00
silenceper
9335b13807
Update README.md ( #456 )
2021-08-31 20:29:19 +08:00
silenceper
3afe499e70
update release-2.0 ( #454 )
...
* merge branch release-2.0 to v2 (#450 )
* feat: add/delete subscribe template (#449 )
* feat: 添加 SDKApiNotOpen 错误信息 (#448 )
* 添加微信客服SDK
* polish:优化签名函数
* polish:优化注释内容
* polish:复用已有的Token以及CommonError,移除无用的输出
* polish:复用已有的消息加解密
* fix:修复错误信息被覆盖的问题
* polish:go fmt 文件
* polish:客服链接支持自定义参数并更新注释文档内容
* feat:支持微信客服回调请求的校验和消息的解析,复用原有的Signature和DecryptMsg方法
* feat:对外暴露SDKApiForbidden等错误
可以通过调用升级服务相关接口然后根据该错误判断微信客服配置来源
* feat:添加无效的open_kfid错误信息
* fix: 添加SDKApiNotOpen 错误信息
目前主要用于判断客户是否关闭了API授权,如果客户关闭了API功能导致服务异常,则可以引导用户执行相应的操作重新开启改功能
Co-authored-by: Afeyer <afeyer@h5base.cn >
Co-authored-by: ZmJ <wzmmmmj@gmail.com >
Co-authored-by: Afeyer <1500527791@qq.com >
Co-authored-by: Afeyer <afeyer@h5base.cn >
* Update go.yml (#452 )
* 修正字段问题 (#451 )
fix #443
* fix linux build failed when cgo disable (#453 )
Co-authored-by: ZmJ <wzmmmmj@gmail.com >
Co-authored-by: Afeyer <1500527791@qq.com >
Co-authored-by: Afeyer <afeyer@h5base.cn >
v2.0.9-rc.1
2021-08-30 18:39:41 +08:00
Afeyer
beb2f9506d
feat: 添加 SDKApiNotOpen 错误信息 ( #448 )
...
* 添加微信客服SDK
* polish:优化签名函数
* polish:优化注释内容
* polish:复用已有的Token以及CommonError,移除无用的输出
* polish:复用已有的消息加解密
* fix:修复错误信息被覆盖的问题
* polish:go fmt 文件
* polish:客服链接支持自定义参数并更新注释文档内容
* feat:支持微信客服回调请求的校验和消息的解析,复用原有的Signature和DecryptMsg方法
* feat:对外暴露SDKApiForbidden等错误
可以通过调用升级服务相关接口然后根据该错误判断微信客服配置来源
* feat:添加无效的open_kfid错误信息
* fix: 添加SDKApiNotOpen 错误信息
目前主要用于判断客户是否关闭了API授权,如果客户关闭了API功能导致服务异常,则可以引导用户执行相应的操作重新开启改功能
Co-authored-by: Afeyer <afeyer@h5base.cn >
2021-08-30 10:13:04 +08:00
ZmJ
b535cd116a
feat: add/delete subscribe template ( #449 )
2021-08-30 10:12:23 +08:00
silenceper
3cfa9e6c71
企业会话存档只在linux平台支持 ( #447 )
2021-08-26 18:51:30 +08:00
浩
80d91d8316
使用双检锁优化 Token 获取 ( #444 )
2021-08-26 10:34:24 +08:00
Afeyer
c61154105b
feat:对外暴露SDKApiForbidden等错误 ( #445 )
...
* 添加微信客服SDK
* polish:优化签名函数
* polish:优化注释内容
* polish:复用已有的Token以及CommonError,移除无用的输出
* polish:复用已有的消息加解密
* fix:修复错误信息被覆盖的问题
* polish:go fmt 文件
* polish:客服链接支持自定义参数并更新注释文档内容
* feat:支持微信客服回调请求的校验和消息的解析,复用原有的Signature和DecryptMsg方法
* feat:对外暴露SDKApiForbidden等错误
可以通过调用升级服务相关接口然后根据该错误判断微信客服配置来源
2021-08-26 10:00:39 +08:00