1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 21:02:25 +08:00
Commit Graph

40 Commits

Author SHA1 Message Date
lyj
1b5c5fba67 Bug fix: omitempty关键字,给它赋的值恰好等于默认空值的话,在转为 json 之后也不会输出这个 field (#539) 2022-02-28 10:38:46 +08:00
wby
80ce4aefc4 微信小程序新版获取手机号授权接口 (#528) 2022-01-11 18:22:07 +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
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
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
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
ZmJ
b535cd116a feat: add/delete subscribe template (#449) 2021-08-30 10:12:23 +08:00
从小就很酷
c8522f1875 小程序内容安全 (#415)
* 增加小程序内容安全接口

* 内容安全接口 按照golint规范进行优化

* 内容安全接口 按照golint规范进行优化

* 删除CheckImage中的输出代码

* 小程序内容安全接口

* 小程序内容安全接口

* 小程序内容安全接口
1:修改返回值 改为error异常统一返回

Co-authored-by: root <admin@example.com>
2021-07-13 20:49:47 +08:00
HUCHAOQI
45caf61899 Silenceper release 2.0 (#408)
* feat(miniapp): 增加统一服务消息

* feat(miniapp): 增加获取微信运动数据接口

* refactor(werun): 更改werun的位置

* fix(lint): 更改stuct名称

Co-authored-by: hyperq <hyperq1g@gmail>
2021-06-10 10:28:01 +08:00
Lien Li
2f88fad0bd 支持解密 分享数据 得到 openGId (#406)
* 支持解密 分享数据 

https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.getShareInfo.html

* fix fmt
2021-06-07 10:26:54 +08:00
Lien Li
13e5b3938b Update encryptor.go (#405) 2021-06-07 10:23:49 +08:00
silenceper
5472ac979b fix 修改参数类型为interface{},支持string和number (#390) 2021-04-12 16:06:14 +08:00
HUCHAOQI
5ec4cc2269 feat(miniapp): 增加统一服务消息 (#385)
Co-authored-by: hyperq <hyperq1g@gmail>
2021-04-12 15:56:10 +08:00
silenceper
c0da806e03 update golangci (#349)
* update golangci
2020-11-26 12:25:57 +08:00
huangx
0505969439 add CommonToken and MiniProgramMixMessage (#323)
Co-authored-by: huangxiang <huangxiang@didichuxing.com>
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
a18fe5b58a add miniprogram/subscribe listTemplates (#314)
Co-authored-by: huangxiang <huangxiang@didichuxing.com>
2020-08-17 15:29:59 +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
silenceper
3a1221e7ed 添加小程序发送订阅消息 (#267) 2020-05-30 13:57:39 +08:00
silenceper
c4cb394d80 Feature v2 (#264)
* 添加TODO:待完善接口

* 【模板消息】将message.DataItem改为message.TemplateDataItem

* fix PKG.DEV
2020-05-30 12:16:56 +08:00
silenceper
0e23fa3fee 优化小程序解密 (#262) 2020-05-30 08:08:03 +08:00
silenceper
972dec0406 将小程序获取ak的方式也抽象出来 2020-05-25 22:00:51 +08:00
silenceper
85b0a114dc rebase release-2.0 2020-05-23 11:59:46 +08:00
silenceper
b6bba6ab66 将import path改为v2 2020-05-22 14:37:58 +08:00
silenceper
15ebd71a04 规范目录 2020-01-20 13:54:04 +08:00
ciel yu
0dffcde475 小程序数据解密,增加手机号解密,兼容之前的用户信息解密 2019-10-12 17:38:41 +08:00
ciel yu
4e6fd625da 小程序数据解密,增加手机号解密,兼容之前的用户信息解密 2019-10-12 16:46:59 +08:00
ciel yu
453089e83e 小程序数据解密,增加手机号解密,兼容之前的用户信息解密 2019-10-12 16:41:26 +08:00
ciel yu
bb97bddc08 Revert "小程序数据解密,增加手机号解密,兼容之前的用户信息解密"
This reverts commit 54e2c82f
2019-10-12 16:27:55 +08:00
cielu
54e2c82fff 小程序数据解密,增加手机号解密,兼容之前的用户信息解密 2019-10-12 16:03:39 +08:00
silenceper
3005852946 fix import path 2019-04-23 21:19:12 +08:00
JefferyWang
823c54fda5 增加小程序用户数据解密 2019-04-10 17:26:21 +08:00
jefferwang(王俊锋)
5677b60759 update readme and some comments 2019-02-19 16:41:15 +08:00
jefferwang(王俊锋)
61476d351d add PostJSONWithRespContentType 2019-02-19 15:11:45 +08:00
jefferwang(王俊锋)
eda287070d 增加部分小程序接口 2019-02-14 16:07:24 +08:00