GargantuaX
e7fdcf9534
支持公众号账号迁移,获取openID变化接口 ( #370 )
...
* * 公众号菜单管理,set相关函数,返回btn本身,方便以字面量的方式创建多个菜单,更直观,方便管理
* * golangci-lint fix
* * 获取二维码ticket接口没有往上抛接口错误
* * 增加GetOpenID方法,以获取消息的生产用户openID
* * 支持公众号账号迁移,获取openID变化接口
* * bugfix
* * golint fix
* * golint fix
v2.0.5
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接口没有往上抛接口错误
v2.0.5-rc.1
2021-02-07 09:50:53 +08:00
LouGaZen
d5a67eaf29
微信支付 - 退款通知 ( #359 )
...
* 🆕 发起退款 - 添加notify_url参数
* 🆕 退款通知
2021-02-07 09:49:43 +08:00
mlboy
e5f0d5eab7
Update README.md ( #358 )
...
fix import
2021-01-26 14:11:38 +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
qufo
bf42c188cb
Update README.md ( #347 )
...
fix typo
2020-11-21 22:06:01 +08:00
1307super
53b0f26688
增加群发消息的预览,群发状态,群发速度 ( #332 )
...
* 增加群发消息的预览,群发状态,群发速度
* Update broadcast.go
* Update broadcast.go
* 修复开放平台代公众号jssdk bug
v2.0.4-rc.1
v2.0.4
2020-10-24 22:10:01 +08:00
Elvin
430277c947
#330 PreOrder增加H5支付的mweb_url字段 ( #335 )
2020-10-21 15:08:36 +08:00
NaRro
71e3ddaab3
fix(platform): 修复jsTicket使用了错误的appID的问题. ( #331 )
...
而第三方平台开发者代替公众号使用 JS SDK 的步骤如下:
1、在申请第三方平台时填写的网页开发域名,将作为旗下授权公众号的 JS SDK 安全域名(详情见“接入前必读”-“申请资料说明”)
2、在第三方平台的网页中正常引入 JS 文件
3、通过 config 接口注入权限验证配置,但在获取 jsapi_ticket 时,不通过公众号的 access_token 来获取,而是通过第三方平台的授权公众号 token(公众号授权给第三方平台后,第三方平台通过“接口说明”中的 api_authorizer_token 接口得到的 token),来获取 jsapi_ticket,然后使用这个 jsapi_ticket 来得到 signature,进行 JS SDK 的配置和开发。**注意 JS SDK 的其他配置中,其他信息均为正常的公众号的资料(而非第三方平台的)**。
4、通过 ready 接口处理成功验证
5、通过 error 接口处理失败验证
fix : #329 .
2020-10-16 11:05:26 +08:00
huangx
0505969439
add CommonToken and MiniProgramMixMessage ( #323 )
...
Co-authored-by: huangxiang <huangxiang@didichuxing.com >
v2.0.3-beta.1
v2.0.3
2020-08-29 18:50:48 +08:00
silenceper
3014901b48
补全 golint ( #322 )
2020-08-27 16:33:42 +08:00
huangx
2e191c0a44
feature: 小程序增加客服消息 ( #319 )
...
* add miniprogram customer_message
* fix golint comment
* rm unnecessary unmarshal in Send
Co-authored-by: huangxiang <huangxiang@didichuxing.com >
2020-08-27 13:46:36 +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
a18fe5b58a
add miniprogram/subscribe listTemplates ( #314 )
...
Co-authored-by: huangxiang <huangxiang@didichuxing.com >
2020-08-17 15:29:59 +08:00
huangx
a6eb2eedc3
check errcode in ListUserOpenIDs ( #312 )
...
Co-authored-by: huangxiang <huangxiang@didichuxing.com >
v2.0.2
2020-08-11 09:46:59 +08:00
NaRro
404d522d09
feat: 增加获取第三方公众号授权链接的接口 ( #310 )
2020-08-08 16:57:31 +08:00
NaRro
6f2bd492fc
fix: platform wx oauth and js config issue. ( #302 )
...
* fix: platform wx oauth and js config issue.
fix silenceper/wechat#301 .
* fix: platform query auth code error not detected.
* feat: migrate platform oauth and js api.
* fix: func name
v2.0.2-beta.1
2020-08-01 20:44:01 +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
7fe7e21cb2
add GetRefund ( #286 )
2020-06-24 17:43:35 +08:00
silenceper
a5c6eb300d
Update README.md
2020-06-24 14:53:24 +08:00
silenceper
868b31cb3d
fix golangci-lint failed ( #284 )
...
* fix golangci-lint error
2020-06-24 14:36:33 +08:00
silenceper
b5c70cc206
增加 golangci-lint actions ( #268 )
...
* Update go.yml
2020-06-24 14:19:48 +08:00
EvaCcino
69d0b94fdf
fix:修复微信回调signType为空的问题 #282 ( #283 )
...
Co-authored-by: Avtion <manaitao@heywoods.cn >
v2.0.1
2020-06-23 13:26:15 +08:00
huang wei
c14c020a3c
fix some bugs ( #277 )
...
* fix payRequset xml marshal: root element should be xml
* support HMAC-SHA256 for unifiedorder api
* support HMAC-SHA256 for PaidVerifySign
* fix SignType is nil
* fix code style
* constantize SignType
* add comments
* fix code style
2020-06-14 23:23:58 +08:00
Liangwt
fe31f04640
增加微信公众号数据统计功能 ( #279 )
...
* * fix: 移除代码中的Println
* 增加公众号数据统计
* fix code style
2020-06-14 23:18:09 +08:00
silenceper
2ccc15b050
Add 贡献者 ( #274 )
2020-06-05 15:17:23 +08:00
silenceper
3d7d60644f
开发平台,将GetServer单独提取 ( #273 )
...
* 添加TODO:待完善接口
* 【模板消息】将message.DataItem改为message.TemplateDataItem
* fix PKG.DEV
* 增加一个 SetRedisPool 方法
* fix:模板消息推送增加一个TemplateMsgID
* fix 开放平台服务端处理
2020-06-05 14:21:49 +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
63f2226974
Update README.md
2020-05-30 15:53:11 +08:00
silenceper
3a1221e7ed
添加小程序发送订阅消息 ( #267 )
2020-05-30 13:57:39 +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
2af3f42055
增加SetRedisPool方法 ( #265 )
...
* 添加TODO:待完善接口
* 【模板消息】将message.DataItem改为message.TemplateDataItem
* fix PKG.DEV
* 增加一个 SetRedisPool 方法
2020-05-30 12:38:51 +08:00
silenceper
c4cb394d80
Feature v2 ( #264 )
...
* 添加TODO:待完善接口
* 【模板消息】将message.DataItem改为message.TemplateDataItem
* fix PKG.DEV
2020-05-30 12:16:56 +08:00
silenceper
681e86e3d4
Update README.md
2020-05-30 11:59:49 +08:00
silenceper
6fe797765f
Update README.md
v2.0.0
2020-05-30 08:26:53 +08:00
silenceper
74e965b207
Update README.md
2020-05-30 08:25:04 +08:00
silenceper
0e23fa3fee
优化小程序解密 ( #262 )
v2.0.0-beta.1
2020-05-30 08:08:03 +08:00
silenceper
351cf65621
添加菜单-支持json方式 ( #261 )
2020-05-30 07:39:24 +08:00
silenceper
f3e3564178
实现批量获取素材 ( #260 )
2020-05-30 06:58:15 +08:00