Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrAppIDNotMatch appid不匹配 ErrAppIDNotMatch = errors.New("app id not match") // ErrInvalidBlockSize block size不合法 ErrInvalidBlockSize = errors.New("invalid block size") // ErrInvalidPKCS7Data PKCS7数据不合法 ErrInvalidPKCS7Data = errors.New("invalid PKCS7 data") // ErrInvalidPKCS7Padding 输入padding失败 ErrInvalidPKCS7Padding = errors.New("invalid padding on input") )
Functions ¶
func GetCipherText ¶ added in v2.0.7
GetCipherText returns slice of the cipher text
Types ¶
type PlainData ¶
type PlainData struct { OpenID string `json:"openId"` UnionID string `json:"unionId"` NickName string `json:"nickName"` Gender int `json:"gender"` City string `json:"city"` Province string `json:"province"` Country string `json:"country"` 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 { Timestamp int64 `json:"timestamp"` AppID string `json:"appid"` } `json:"watermark"` }
PlainData 用户信息/手机号信息
Click to show internal directories.
Click to hide internal directories.