Versions in this module Expand all Collapse all v0 v0.1.7 Apr 19, 2024 v0.1.6 May 16, 2023 Changes in this version + type MiniProgramAuthMobile struct + CountryCode string + FullMobile string + Mobile string + func (s *MiniProgramAuthMobile) ToValidMobile() string + type ReqAccessToken struct + AppID string + Secret string + type ReqMiniProgramAuthMobile struct + Code string + type RespAccessToken struct + Expiry int + Token string + type RespMiniProgramAuthMobile struct + Mobile *MiniProgramAuthMobile v0.1.5 Mar 27, 2023 Changes in this version + const WxOK + type MiniProgram struct + func (s *MiniProgram) OAuth(req *base.Request) (*base.Response, error) + type MiniProgramAuthResponse struct + OpenID string + SessionKey string + UnionID string + type OAuth struct + func (s *OAuth) OAuth(req *base.Request) (*base.Response, error) + type OAuthResponse struct + AccessToken string + Expires int + OpenID string + RefreshToken string + Scope string + UnionID string + type Response struct + ErrCode int + ErrMsg string + type UserInfo struct + City string + Country string + HeadImgUrl string + NickName string + OpenID string + Privileges []string + Province string + Sex int + UnionID string + type UserInfoResponse struct