Documentation ¶
Index ¶
- Constants
- func UserInfoAvatarUrlReal(avatarUrl string) string
- type BusinessGetLiveInfoResponse
- type BusinessGetLiveInfoResult
- type CgiBinTokenResponse
- type CgiBinTokenResult
- type CgiBinWxaAppCreateWxaQrCodeResponse
- type CgiBinWxaAppCreateWxaQrCodeResult
- type Client
- func (c *Client) BusinessGetLiveInfo(ctx context.Context, notMustParams ...gorequest.Params) (*BusinessGetLiveInfoResult, error)
- func (c *Client) CgiBinToken(ctx context.Context, notMustParams ...gorequest.Params) (*CgiBinTokenResult, error)
- func (c *Client) CgiBinWxaAppCreateWxaQrCode(ctx context.Context, notMustParams ...gorequest.Params) (*CgiBinWxaAppCreateWxaQrCodeResult, error)
- func (c *Client) ConfigApiGormFun(apiClientFun golog.ApiGormFun)
- func (c *Client) ConfigApp(appId, appSecret string) *Client
- func (c *Client) ConfigRedisCachePrefixFunWechatAccessToken(config string) error
- func (c *Client) ConfigRedisClient(client *redis.Client)
- func (c *Client) Get(ctx context.Context, _method string, notMustParams ...gorequest.Params) ([]byte, error)
- func (c *Client) GetAccessToken(ctx context.Context) string
- func (c *Client) GetAccessTokenMonitor(ctx context.Context) (string, error)
- func (c *Client) GetAppId() string
- func (c *Client) GetAppSecret() string
- func (c *Client) GetCallBackIp(ctx context.Context, notMustParams ...gorequest.Params) (*GetCallBackIpResult, error)
- func (c *Client) Post(ctx context.Context, _method string, notMustParams ...gorequest.Params) ([]byte, error)
- func (c *Client) SaveImg(ctx context.Context, resp gorequest.Response, dir, saveName string) SaveImgResponse
- func (c *Client) SetAccessToken(ctx context.Context, accessToken string) string
- func (c *Client) SnsJsCode2session(ctx context.Context, jsCode string, notMustParams ...gorequest.Params) (*SnsJsCode2sessionResult, error)
- func (c *Client) SubscribeMessageSend(ctx context.Context, notMustParams ...gorequest.Params) (*SubscribeMessageSendResult, error)
- func (c *Client) UserInfo(ctx context.Context, param UserInfo) *UserInfoResult
- func (c *Client) UserPhone(ctx context.Context, param UserPhone) *UserPhoneResult
- func (c *Client) WxaApiFeedbackList(ctx context.Context, notMustParams ...gorequest.Params) (*WxaApiFeedbackListResult, error)
- func (c *Client) WxaBusinessGetUserPhoneNumber(ctx context.Context, notMustParams ...gorequest.Params) (*WxaBusinessGetUserPhoneNumberResult, error)
- func (c *Client) WxaGenerateScheme(ctx context.Context, notMustParams ...gorequest.Params) (*WxaGenerateSchemeResult, error)
- func (c *Client) WxaGenerateUrlLink(ctx context.Context, notMustParams ...gorequest.Params) (*WxaGenerateUrlLinkResult, error)
- func (c *Client) WxaGetUserRiskRank(ctx context.Context, notMustParams ...gorequest.Params) (*WxaGetUserRiskRankResult, error)
- func (c *Client) WxaGetWxaCode(ctx context.Context, notMustParams ...gorequest.Params) (*WxaGetWxaCodeResult, error)
- func (c *Client) WxaGetWxaCodeUnLimit(ctx context.Context, notMustParams ...gorequest.Params) (*WxaGetWxaCodeUnLimitResult, error)
- func (c *Client) WxaMediaCheckAsync(ctx context.Context, notMustParams ...gorequest.Params) (*WxaMediaCheckAsyncResult, error)
- func (c *Client) WxaMsgSecCheck(ctx context.Context, notMustParams ...gorequest.Params) (*WxaMsgSecCheckResult, error)
- func (c *Client) WxaQueryScheme(ctx context.Context, notMustParams ...gorequest.Params) (*WxaQuerySchemeResult, error)
- func (c *Client) WxaQueryUrlLink(ctx context.Context, notMustParams ...gorequest.Params) (*WxaQueryUrlLinkResult, error)
- type ClientConfig
- type GetCallBackIpResponse
- type GetCallBackIpResult
- type SaveImgResponse
- type SnsJsCode2sessionResponse
- type SnsJsCode2sessionResult
- type SubscribeMessageSendResponse
- type SubscribeMessageSendResult
- type UserInfo
- type UserInfoResponse
- type UserInfoResult
- type UserPhone
- type UserPhoneResponse
- type UserPhoneResult
- type WxaApiFeedbackListResponse
- type WxaApiFeedbackListResult
- type WxaBusinessGetUserPhoneNumberResponse
- type WxaBusinessGetUserPhoneNumberResult
- type WxaGenerateSchemeResponse
- type WxaGenerateSchemeResult
- type WxaGenerateUrlLinkResponse
- type WxaGenerateUrlLinkResult
- type WxaGetUserRiskRankResponse
- type WxaGetUserRiskRankResult
- type WxaGetWxaCodeResponse
- type WxaGetWxaCodeResult
- type WxaGetWxaCodeUnLimitResponse
- type WxaGetWxaCodeUnLimitResult
- type WxaMediaCheckAsyncResponse
- type WxaMediaCheckAsyncResult
- type WxaMsgSecCheckResponse
- type WxaMsgSecCheckResult
- type WxaQuerySchemeResponse
- type WxaQuerySchemeResult
- type WxaQueryUrlLinkResponse
- type WxaQueryUrlLinkResult
Constants ¶
const (
LogTable = "wechatminiprogram"
)
const (
Version = "1.0.15"
)
Variables ¶
This section is empty.
Functions ¶
func UserInfoAvatarUrlReal ¶
Types ¶
type BusinessGetLiveInfoResponse ¶
type BusinessGetLiveInfoResponse struct { Errcode int `json:"errcode"` // // 错误码,0代表成功,1代表未创建直播间 Errmsg string `json:"errmsg"` // 错误信息 Total int `json:"total"` RoomInfo []struct { Name string `json:"name"` // 直播间名称 Roomid int `json:"roomid"` // 直播间ID CoverImg string `json:"cover_img"` ShareImg string `json:"share_img"` LiveStatus int `json:"live_status"` StartTime int `json:"start_time"` EndTime int `json:"end_time"` AnchorName string `json:"anchor_name"` Goods []struct { CoverImg string `json:"cover_img"` Url string `json:"url"` Name string `json:"name"` Price int `json:"price"` Price2 int `json:"price2"` PriceType int `json:"price_type"` GoodsId int `json:"goods_id"` ThirdPartyAppid string `json:"third_party_appid"` } `json:"goods"` LiveType int `json:"live_type"` CloseLike int `json:"close_like"` CloseGoods int `json:"close_goods"` CloseComment int `json:"close_comment"` CloseKf int `json:"close_kf"` CloseReplay int `json:"close_replay"` IsFeedsPublic int `json:"is_feeds_public"` CreaterOpenid string `json:"creater_openid"` FeedsImg string `json:"feeds_img"` } `json:"room_info"` }
type BusinessGetLiveInfoResult ¶
type BusinessGetLiveInfoResult struct { Result BusinessGetLiveInfoResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinTokenResponse ¶
type CgiBinTokenResult ¶
type CgiBinTokenResult struct { Result CgiBinTokenResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
type CgiBinWxaAppCreateWxaQrCodeResult ¶
type CgiBinWxaAppCreateWxaQrCodeResult struct { Result CgiBinWxaAppCreateWxaQrCodeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func (*Client) BusinessGetLiveInfo ¶
func (c *Client) BusinessGetLiveInfo(ctx context.Context, notMustParams ...gorequest.Params) (*BusinessGetLiveInfoResult, error)
BusinessGetLiveInfo 获取直播间列表 调用此接口获取直播间列表及直播间信息 https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/liveplayer/studio-api.html
func (*Client) CgiBinToken ¶
func (c *Client) CgiBinToken(ctx context.Context, notMustParams ...gorequest.Params) (*CgiBinTokenResult, error)
CgiBinToken 接口调用凭证 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/access-token/auth.getAccessToken.html
func (*Client) CgiBinWxaAppCreateWxaQrCode ¶
func (c *Client) CgiBinWxaAppCreateWxaQrCode(ctx context.Context, notMustParams ...gorequest.Params) (*CgiBinWxaAppCreateWxaQrCodeResult, error)
CgiBinWxaAppCreateWxaQrCode 获取小程序二维码,适用于需要的码数量较少的业务场景。通过该接口生成的小程序码,永久有效,有数量限制 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.createQRCode.html
func (*Client) ConfigApiGormFun ¶ added in v1.0.11
func (c *Client) ConfigApiGormFun(apiClientFun golog.ApiGormFun)
ConfigApiGormFun 接口日志配置
func (*Client) ConfigRedisCachePrefixFunWechatAccessToken ¶ added in v1.0.11
ConfigRedisCachePrefixFunWechatAccessToken 缓存前缀
func (*Client) ConfigRedisClient ¶ added in v1.0.11
func (c *Client) ConfigRedisClient(client *redis.Client)
ConfigRedisClient 缓存数据库
func (*Client) GetAccessTokenMonitor ¶
func (*Client) GetAppSecret ¶ added in v1.0.5
func (*Client) GetCallBackIp ¶
func (c *Client) GetCallBackIp(ctx context.Context, notMustParams ...gorequest.Params) (*GetCallBackIpResult, error)
GetCallBackIp 获取微信callback IP地址 callback IP即微信调用开发者服务器所使用的出口IP。 https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_the_WeChat_server_IP_address.html#2.%20%E8%8E%B7%E5%8F%96%E5%BE%AE%E4%BF%A1callback%20IP%E5%9C%B0%E5%9D%80
func (*Client) SetAccessToken ¶ added in v1.0.11
func (*Client) SnsJsCode2session ¶
func (c *Client) SnsJsCode2session(ctx context.Context, jsCode string, notMustParams ...gorequest.Params) (*SnsJsCode2sessionResult, error)
SnsJsCode2session 登录凭证校验 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/login/auth.code2Session.html
func (*Client) SubscribeMessageSend ¶
func (c *Client) SubscribeMessageSend(ctx context.Context, notMustParams ...gorequest.Params) (*SubscribeMessageSendResult, error)
SubscribeMessageSend 发送订阅消息 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html
func (*Client) UserInfo ¶
func (c *Client) UserInfo(ctx context.Context, param UserInfo) *UserInfoResult
UserInfo 解密用户信息
func (*Client) UserPhone ¶
func (c *Client) UserPhone(ctx context.Context, param UserPhone) *UserPhoneResult
UserPhone 解密手机号信息
func (*Client) WxaApiFeedbackList ¶
func (c *Client) WxaApiFeedbackList(ctx context.Context, notMustParams ...gorequest.Params) (*WxaApiFeedbackListResult, error)
WxaApiFeedbackList 获取用户反馈列表 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getFeedback.html
func (*Client) WxaBusinessGetUserPhoneNumber ¶
func (c *Client) WxaBusinessGetUserPhoneNumber(ctx context.Context, notMustParams ...gorequest.Params) (*WxaBusinessGetUserPhoneNumberResult, error)
WxaBusinessGetUserPhoneNumber code换取用户手机号。 每个code只能使用一次,code的有效期为5min https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/phonenumber/phonenumber.getPhoneNumber.html
func (*Client) WxaGenerateScheme ¶
func (c *Client) WxaGenerateScheme(ctx context.Context, notMustParams ...gorequest.Params) (*WxaGenerateSchemeResult, error)
WxaGenerateScheme 获取小程序 scheme 码,适用于短信、邮件、外部网页、微信内等拉起小程序的业务场景。通过该接口,可以选择生成到期失效和永久有效的小程序码,有数量限制,目前仅针对国内非个人主体的小程序开放 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-scheme/urlscheme.generate.html
func (*Client) WxaGenerateUrlLink ¶
func (c *Client) WxaGenerateUrlLink(ctx context.Context, notMustParams ...gorequest.Params) (*WxaGenerateUrlLinkResult, error)
WxaGenerateUrlLink 获取小程序 URL Link,适用于短信、邮件、网页、微信内等拉起小程序的业务场景。通过该接口,可以选择生成到期失效和永久有效的小程序链接,有数量限制,目前仅针对国内非个人主体的小程序开放 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.generate.html
func (*Client) WxaGetUserRiskRank ¶ added in v1.0.11
func (c *Client) WxaGetUserRiskRank(ctx context.Context, notMustParams ...gorequest.Params) (*WxaGetUserRiskRankResult, error)
WxaGetUserRiskRank 获取用户安全等级 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/sec-center/safety-control-capability/getUserRiskRank.html
func (*Client) WxaGetWxaCode ¶
func (c *Client) WxaGetWxaCode(ctx context.Context, notMustParams ...gorequest.Params) (*WxaGetWxaCodeResult, error)
WxaGetWxaCode 获取小程序码,适用于需要的码数量较少的业务场景。通过该接口生成的小程序码,永久有效,有数量限制 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.get.html
func (*Client) WxaGetWxaCodeUnLimit ¶
func (c *Client) WxaGetWxaCodeUnLimit(ctx context.Context, notMustParams ...gorequest.Params) (*WxaGetWxaCodeUnLimitResult, error)
WxaGetWxaCodeUnLimit 获取小程序码,适用于需要的码数量极多的业务场景。通过该接口生成的小程序码,永久有效,数量暂无限制 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.getUnlimited.html
func (*Client) WxaMediaCheckAsync ¶ added in v1.0.11
func (c *Client) WxaMediaCheckAsync(ctx context.Context, notMustParams ...gorequest.Params) (*WxaMediaCheckAsyncResult, error)
WxaMediaCheckAsync 音视频内容安全识别 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/sec-center/sec-check/mediaCheckAsync.html
func (*Client) WxaMsgSecCheck ¶ added in v1.0.11
func (c *Client) WxaMsgSecCheck(ctx context.Context, notMustParams ...gorequest.Params) (*WxaMsgSecCheckResult, error)
WxaMsgSecCheck 文本内容安全识别 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.getUnlimited.html
func (*Client) WxaQueryScheme ¶
func (c *Client) WxaQueryScheme(ctx context.Context, notMustParams ...gorequest.Params) (*WxaQuerySchemeResult, error)
WxaQueryScheme 查询小程序 scheme 码,及长期有效 quota https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-scheme/urlscheme.query.html
func (*Client) WxaQueryUrlLink ¶
func (c *Client) WxaQueryUrlLink(ctx context.Context, notMustParams ...gorequest.Params) (*WxaQueryUrlLinkResult, error)
WxaQueryUrlLink 查询小程序 url_link 配置,及长期有效 quota https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.query.html
type ClientConfig ¶ added in v1.0.5
type ClientConfig struct { AppId string `json:"app_id"` // 小程序唯一凭证,即 appId AppSecret string // 小程序唯一凭证密钥,即 appSecret }
ClientConfig 实例配置
type GetCallBackIpResponse ¶
type GetCallBackIpResponse struct {
IpList []string `json:"ip_list"`
}
type GetCallBackIpResult ¶
type GetCallBackIpResult struct { Result GetCallBackIpResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type SaveImgResponse ¶
type SnsJsCode2sessionResult ¶
type SnsJsCode2sessionResult struct { Result SnsJsCode2sessionResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type SubscribeMessageSendResult ¶
type SubscribeMessageSendResult struct { Result SubscribeMessageSendResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UserInfoResponse ¶
type UserInfoResponse struct { OpenID string `json:"openId"` NickName string `json:"nickName"` Gender int `json:"gender"` City string `json:"city"` Province string `json:"province"` Country string `json:"country"` AvatarUrl string `json:"avatarUrl"` UnionId string `json:"unionId"` Watermark struct { AppID string `json:"appid"` Timestamp int64 `json:"timestamp"` } `json:"watermark"` }
func (*UserInfoResponse) UserInfoAvatarUrlReal ¶
func (u *UserInfoResponse) UserInfoAvatarUrlReal() string
type UserInfoResult ¶
type UserInfoResult struct { Result UserInfoResponse // 结果 Err error // 错误 }
type UserPhoneResponse ¶
type UserPhoneResponse struct { PhoneNumber string `json:"phoneNumber"` // 用户绑定的手机号(国外手机号会有区号) PurePhoneNumber string `json:"purePhoneNumber"` // 没有区号的手机号 CountryCode string `json:"countryCode"` // 区号 Watermark struct { AppID string `json:"appid"` Timestamp int64 `json:"timestamp"` } `json:"watermark"` }
type UserPhoneResult ¶
type UserPhoneResult struct { Result UserPhoneResponse // 结果 Err error // 错误 }
type WxaApiFeedbackListResponse ¶
type WxaApiFeedbackListResponse struct { List []struct { RecordId int `json:"record_id"` CreateTime int `json:"create_time"` Content string `json:"content"` Phone string `json:"phone"` Openid string `json:"openid"` Nickname string `json:"nickname"` HeadUrl string `json:"head_url"` Type int `json:"type"` MediaIds []string `json:"mediaIds"` } `json:"list"` TotalNum int `json:"total_num"` Errcode int `json:"errcode"` RpcCount int `json:"__rpcCount"` }
type WxaApiFeedbackListResult ¶
type WxaApiFeedbackListResult struct { Result WxaApiFeedbackListResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaBusinessGetUserPhoneNumberResponse ¶
type WxaBusinessGetUserPhoneNumberResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` PhoneInfo struct { PhoneNumber string `json:"phoneNumber"` // 用户绑定的手机号(国外手机号会有区号) PurePhoneNumber string `json:"purePhoneNumber"` // 没有区号的手机号 CountryCode int `json:"countryCode"` // 区号 Watermark struct { Timestamp int `json:"timestamp"` // 用户获取手机号操作的时间戳 Appid string `json:"appid"` // 小程序appid } `json:"watermark"` } `json:"phone_info"` }
type WxaBusinessGetUserPhoneNumberResult ¶
type WxaBusinessGetUserPhoneNumberResult struct { Result WxaBusinessGetUserPhoneNumberResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaGenerateSchemeResult ¶
type WxaGenerateSchemeResult struct { Result WxaGenerateSchemeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaGenerateUrlLinkResult ¶
type WxaGenerateUrlLinkResult struct { Result WxaGenerateUrlLinkResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaGetUserRiskRankResponse ¶ added in v1.0.11
type WxaGetUserRiskRankResult ¶ added in v1.0.11
type WxaGetUserRiskRankResult struct { Result WxaGetUserRiskRankResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaGetWxaCodeResponse ¶
type WxaGetWxaCodeResult ¶
type WxaGetWxaCodeResult struct { Result WxaGetWxaCodeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaGetWxaCodeResult) ErrcodeInfo ¶
func (resp *WxaGetWxaCodeResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaGetWxaCodeUnLimitResult ¶
type WxaGetWxaCodeUnLimitResult struct { Result WxaGetWxaCodeUnLimitResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaGetWxaCodeUnLimitResult) Check ¶
func (resp *WxaGetWxaCodeUnLimitResult) Check() error
Check 检查
func (*WxaGetWxaCodeUnLimitResult) ErrcodeInfo ¶
func (resp *WxaGetWxaCodeUnLimitResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaMediaCheckAsyncResponse ¶ added in v1.0.11
type WxaMediaCheckAsyncResponse struct { Errcode int `json:"errcode"` // 错误码 Errmsg string `json:"errmsg"` // 错误信息 TraceId string `json:"trace_id"` // 唯一请求标识,标记单次请求,用于匹配异步推送结果 Result struct { Suggest string `json:"suggest"` // 小程序的username Label int `json:"label"` // 小程序的username } `json:"result"` // 小程序的username ToUserName string `json:"ToUserName"` // 小程序的username FromUserName string `json:"FromUserName"` // 平台推送服务UserName CreateTime int `json:"CreateTime"` // 发送时间 MsgType string `json:"MsgType"` // 默认为:event Event string `json:"Event"` // 默认为:wxa_media_check Appid string `json:"appid"` // 小程序的appid Version int `json:"version"` // 小程序的username Detail []struct { Strategy string `json:"strategy"` // 小程序的username Errcode int `json:"errcode"` // 小程序的username Suggest string `json:"suggest"` // 小程序的username Label int `json:"label"` // 小程序的username Prob int `json:"prob"` // 小程序的username } `json:"detail"` // 小程序的username }
type WxaMediaCheckAsyncResult ¶ added in v1.0.11
type WxaMediaCheckAsyncResult struct { Result WxaMediaCheckAsyncResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaMsgSecCheckResponse ¶ added in v1.0.11
type WxaMsgSecCheckResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` Result struct { Suggest string `json:"suggest"` Label int `json:"label"` } `json:"result"` Detail []struct { Strategy string `json:"strategy"` Errcode int `json:"errcode"` Suggest string `json:"suggest"` Label int `json:"label"` Prob int `json:"prob,omitempty"` Level int `json:"level,omitempty"` Keyword string `json:"keyword,omitempty"` } `json:"detail"` TraceId string `json:"trace_id"` }
type WxaMsgSecCheckResult ¶ added in v1.0.11
type WxaMsgSecCheckResult struct { Result WxaMsgSecCheckResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaQuerySchemeResponse ¶
type WxaQuerySchemeResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` SchemeInfo struct { Appid string `json:"appid"` Path string `json:"path"` Query string `json:"query"` CreateTime int `json:"create_time"` ExpireTime int `json:"expire_time"` EnvVersion string `json:"env_version"` } `json:"scheme_info"` SchemeQuota struct { LongTimeUsed int `json:"long_time_used"` LongTimeLimit int `json:"long_time_limit"` } `json:"scheme_quota"` }
type WxaQuerySchemeResult ¶
type WxaQuerySchemeResult struct { Result WxaQuerySchemeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaQueryUrlLinkResponse ¶
type WxaQueryUrlLinkResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` UrlLinkInfo struct { Appid string `json:"appid"` Path string `json:"path"` Query string `json:"query"` CreateTime int `json:"create_time"` ExpireTime int `json:"expire_time"` EnvVersion string `json:"env_version"` CloudBase struct { Env string `json:"env"` Doamin string `json:"doamin"` Path string `json:"path"` Query string `json:"query"` ResourceAppid string `json:"resource_appid"` } `json:"cloud_base"` } `json:"url_link_info"` UrlLinkQuota struct { LongTimeUsed int `json:"long_time_used"` LongTimeLimit int `json:"long_time_limit"` } `json:"url_link_quota"` }
type WxaQueryUrlLinkResult ¶
type WxaQueryUrlLinkResult struct { Result WxaQueryUrlLinkResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
Source Files ¶
- api.go
- cgi-bin.getcallbackip.go
- cgi-bin.message.subscribe.send.go
- cgi-bin.token.go
- cgi-bin.token.monitor.go
- cgi-bin.token.rdb.go
- cgi-bin.wxaapp.createwxaqrcode.go
- client.go
- config.go
- const.go
- error.go
- get.go
- request.go
- save_img.go
- set.go
- sign.go
- sns.jscode2session.go
- user_info.go
- user_phone.go
- version.go
- wxa.business.getliveinfo.go
- wxa.business.getuserphonenumber.go
- wxa.generate_urllink.go
- wxa.generatescheme.go
- wxa.getuserriskrank.go
- wxa.getwxacode.go
- wxa.getwxacodeunlimit.go
- wxa.media_check_async.go
- wxa.msg_sec_check.go
- wxa.query_urllink.go
- wxa.queryscheme.go
- wxaapi.feedback.list.go