From 2f88fad0bd78c4505fa71306d332aec534c2f21e Mon Sep 17 00:00:00 2001 From: Lien Li Date: Mon, 7 Jun 2021 10:26:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E8=A7=A3=E5=AF=86=20?= =?UTF-8?q?=E5=88=86=E4=BA=AB=E6=95=B0=E6=8D=AE=20=E5=BE=97=E5=88=B0=20ope?= =?UTF-8?q?nGId=20(#406)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 支持解密 分享数据 https://developers.weixin.qq.com/miniprogram/dev/api/share/wx.getShareInfo.html * fix fmt --- miniprogram/encryptor/encryptor.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miniprogram/encryptor/encryptor.go b/miniprogram/encryptor/encryptor.go index ea02415..bd8613f 100644 --- a/miniprogram/encryptor/encryptor.go +++ b/miniprogram/encryptor/encryptor.go @@ -45,6 +45,8 @@ type PlainData struct { AvatarURL string `json:"avatarUrl"` Language string `json:"language"` PhoneNumber string `json:"phoneNumber"` + OpenGID string `json:"openGId"` + MsgTicket string `json:"msgTicket"` PurePhoneNumber string `json:"purePhoneNumber"` CountryCode string `json:"countryCode"` Watermark struct {