daguang
d1d034eb95
oauth add snapshot user mark field ( #643 )
2023-01-29 11:58:00 +08:00
Mr. Yang
86ceb6af2f
增加小程序审核结果回调通知 ( #630 )
...
Co-authored-by: yanglaosan <yang88can@163.com >
2022-10-17 16:52:19 +08:00
okhowang
5380d5bee7
GetAccessToken支持Context ( #618 )
2022-09-29 14:33:53 +08:00
gzylg
88fc6465bb
公众号用户黑名单管理 ( #609 )
2022-08-31 22:50:51 +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
Wangrong
37f9e981d6
客服管理功能添加 ( #600 )
2022-08-13 12:24:12 +08:00
Wangrong
eb3dbf1646
增加订阅通知功能 ( #599 )
...
* fix issue #586 #543
* add officialaccount subscribe function
* update doc for officialaccount
* add comments
Co-authored-by: Wang Rong <wangron@tesla.com >
2022-08-08 10:03:56 +08:00
Wangrong
27e18b6958
fix officialaccount part in Issue 590 ( #591 )
...
* fix issue #586 #543
* fix issue #590 in officialaccount
Co-authored-by: Wang Rong <wangron@tesla.com >
2022-08-08 10:02:24 +08:00
Wangrong
252fc4838b
Add Event Type ( #596 )
...
* fix issue #586 #543
* add EventViewMiniprogram wechat EventType
Co-authored-by: Wang Rong <wangron@tesla.com >
2022-08-04 20:33:27 +08:00
Wangrong
cc9be30ed1
fix issue #586 #543 ( #589 )
...
Co-authored-by: Wang Rong <wangron@tesla.com >
2022-07-26 14:10:55 +08:00
yucui xiao
e952b1d55a
微信小程序回调消息兼容json格式 ( #560 )
2022-04-26 15:59:51 +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
save95
5c4b28acee
add: 增加公众号「发布能力」接口(#530) ( #531 )
...
* add: 增加公众号「发布能力」接口(#530)
* fix: go lint
* fix: 修复响应结构体及解析方式
* add: 增加公众号「草稿箱」接口(#530)
* fix: text
* mod: 增加 发布任务完成 消息事件
Co-authored-by: luoyu <luoyu@medlinker.com >
2022-02-14 10:19:55 +08:00
杨成锴
8c87c49f2a
update: 统一消息类型 ( #511 )
2021-12-03 20:45:11 +08:00
ixugo
566c3c27cb
增加订阅通知事件 ( #509 )
2021-11-15 17:06:50 +08:00
owen.gxz
fd96154231
增加注册审核事件推送消息 ( #487 )
...
* 消息类型增加快速注册企业小程序回调参数
* 代码格式化
* 更改常量名称
* 更改注解
Co-authored-by: 高震 <gaozhen@gaozhendeMacBook-Pro.local >
2021-09-26 14:15:31 +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
ZmJ
b535cd116a
feat: add/delete subscribe template ( #449 )
2021-08-30 10:12:23 +08:00
ZmJ
d392ff776b
补充 添加/删除 公众号模板消息接口 ( #440 )
...
* provide add/delete officialaccount template api
* use util.DecodeWithError check errcode
2021-08-25 10:18:49 +08:00
ZmJ
fc1fc7e84e
快捷获取公众号订阅消息对象 ( #435 )
...
* 快捷获取公众号订阅消息对象
* fix: typo subscrib -> subscribe
2021-08-16 14:39:44 +08:00
lanbiaowan
7a513080a8
addNews return error ( #401 )
...
Co-authored-by: p_biaolan <biao.lan@qingteng.cn >
2021-06-07 10:03:56 +08:00
ForrestSu
34f1335d17
feat: 优化MixMessage采用指针传参,减少2次拷贝 ( #394 )
2021-04-18 18:55:32 +08:00
ForrestSu
fb1aa60ae8
feat(officialaccount): 补充群发消息event ( #393 )
...
* feat(officialaccount): 补充群发消息event
* feat: 解析群发结果通知中的成功失败数
2021-04-18 18:50:24 +08:00
ForrestSu
18abebe4de
fix: 微信群发预览接口: 只支持单个用户,默认发给第一个 ( #392 )
2021-04-18 18:48:56 +08:00
水煮牛肉
d1241790cb
增加ocr相关接口 ( #388 )
...
Co-authored-by: qiq@pvc123.com <qiq@pvc123.com >
2021-04-12 15:29:14 +08:00
bugstark
64c2de7ab4
Add subscribe message #371 ( #376 )
...
* Fix subscribe #371
* Fix subscribe #371
* 规范struct元素名称
2021-03-05 11:27:05 +08:00
GargantuaX
e7fdcf9534
支持公众号账号迁移,获取openID变化接口 ( #370 )
...
* * 公众号菜单管理,set相关函数,返回btn本身,方便以字面量的方式创建多个菜单,更直观,方便管理
* * golangci-lint fix
* * 获取二维码ticket接口没有往上抛接口错误
* * 增加GetOpenID方法,以获取消息的生产用户openID
* * 支持公众号账号迁移,获取openID变化接口
* * bugfix
* * golint fix
* * golint fix
2021-03-01 15:38:54 +08:00
GargantuaX
05907d152e
消息增加GetOpenID方法 ( #368 )
...
* * 公众号菜单管理,set相关函数,返回btn本身,方便以字面量的方式创建多个菜单,更直观,方便管理
* * golangci-lint fix
* * 获取二维码ticket接口没有往上抛接口错误
* * 增加GetOpenID方法,以获取消息的生产用户openID
2021-02-19 15:50:02 +08:00
kaiiak
398f2ec6ae
long url to short url ( #367 )
...
* long url to short url
* Decode by util.DecodeWithError
2021-02-08 09:42:46 +08:00
GargantuaX
e8fb058740
* 公众号菜单管理,增加new相关函数,老的set相关函数,返回btn本身,以便用字面量的方式创建多级菜单,更直观,方便管理 ( #365 )
...
* * 公众号菜单管理,set相关函数,返回btn本身,方便以字面量的方式创建多个菜单,更直观,方便管理
* * golangci-lint fix
* * 获取二维码ticket接口没有往上抛接口错误
2021-02-07 09:50:53 +08:00
silenceper
2eae660002
修复SetMenuByJSON和AddConditionalByJSON报错 ( #353 )
...
* change PostJSON to HTTPPost
* change PostJSON to HTTPPost
2020-12-31 13:52:13 +08:00
silenceper
c0da806e03
update golangci ( #349 )
...
* update golangci
2020-11-26 12:25:57 +08:00
Che Kun
185baa5d12
公众号网页授权后获取用户基本信息支持语言入参 #344 ( #345 )
2020-11-26 12:09:58 +08:00
1307super
53b0f26688
增加群发消息的预览,群发状态,群发速度 ( #332 )
...
* 增加群发消息的预览,群发状态,群发速度
* Update broadcast.go
* Update broadcast.go
* 修复开放平台代公众号jssdk bug
2020-10-24 22:10:01 +08:00
silenceper
3014901b48
补全 golint ( #322 )
2020-08-27 16:33:42 +08:00
huangx
4c35924b8c
feature: 公众号客服消息增加「小程序卡片消息」类型;添加 GetCustomerMessageManager ( #320 )
...
* fix officialaccount customer_message
* fix golint comment
Co-authored-by: huangxiang <huangxiang@didichuxing.com >
2020-08-25 19:41:53 +08:00
huangx
ed508654a1
bugfix officialaccount/message/template json non-pointer error ( #318 )
...
Co-authored-by: huangxiang <huangxiang@didichuxing.com >
2020-08-17 17:30:04 +08:00
huangx
a6eb2eedc3
check errcode in ListUserOpenIDs ( #312 )
...
Co-authored-by: huangxiang <huangxiang@didichuxing.com >
2020-08-11 09:46:59 +08:00
heyangfan
811d71c35b
标签管理 ( #297 )
...
* 用户标签管理
* 用户标签管理
修改错误注释
* 修复错误未处理的问题
修改Id 为ID
* 标签管理
* 改为user struct调用
* Id to ID
* OpenIDList 改为TagOpenIDList
* 修复部分问题
* TagID int变更为int32 与GetUserInfo接口返回的Tid 类型一致
2020-07-29 11:06:02 +08:00
silenceper
1fe872be66
缺失 commonError ( #303 )
2020-07-09 10:03:25 +08:00
Amor
ff38e6bac0
feat:add template list method ( #298 )
2020-07-07 19:08:02 +08:00
Amor
c956f416a5
fix:material url ( #299 )
2020-07-07 19:01:25 +08:00
Amor
5fea6d5965
feat:add material news update ( #295 )
2020-07-07 17:30:02 +08:00
Amor
a8763dd6c9
fix:material media type ( #296 )
2020-07-07 17:27:22 +08:00
Amor
df9889d982
feat: get material count ( #292 )
...
* feat: get material count
2020-07-06 20:03:43 +08:00
silenceper
868b31cb3d
fix golangci-lint failed ( #284 )
...
* fix golangci-lint error
2020-06-24 14:36:33 +08:00
Liangwt
fe31f04640
增加微信公众号数据统计功能 ( #279 )
...
* * fix: 移除代码中的Println
* 增加公众号数据统计
* fix code style
2020-06-14 23:18:09 +08:00
方航
5d9705ddc8
Update menu.go ( #271 )
...
* Update menu.go
json: cannot unmarshal string into Go struct field MatchRule.conditionalmenu.matchrule.group_id of type int32
接口返回是字符串
"matchrule": {
"group_id": "2"
}
结构体定义
//MatchRule 个性化菜单规则
type MatchRule struct {
GroupID int32 json:"group_id,omitempty"
...
}
* matchrule字段均是字符串
"matchrule": {
"tag_id": "2",
"sex": "1",
"country": "中国",
"province": "广东",
"city": "广州",
"client_platform_type": "2",
"language": "zh_CN"
}
2020-05-31 17:40:29 +08:00
silenceper
6c06c05233
增加一个 TemplateMsgID,适配微信微信msgID和msgId问题 ( #266 )
...
* 添加TODO:待完善接口
* 【模板消息】将message.DataItem改为message.TemplateDataItem
* fix PKG.DEV
* 增加一个 SetRedisPool 方法
* fix:模板消息推送增加一个TemplateMsgID
2020-05-30 13:32:11 +08:00
silenceper
351cf65621
添加菜单-支持json方式 ( #261 )
2020-05-30 07:39:24 +08:00