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
- func (c *Client) CgiBinToken(ctx context.Context) *CgiBinTokenResult
- func (c *Client) CgiBinWxaAppCreateWxaQrCode(ctx context.Context, notMustParams ...gorequest.Params) *CgiBinWxaAppCreateWxaQrCodeResult
- func (c *Client) ConfigApiClientFun(apiClientFun golog.ApiClientFun)
- func (c *Client) ConfigApp(appId, appSecret string) *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) *GetCallBackIpResult
- func (c *Client) GetLog() *golog.ApiClient
- 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) SnsJsCode2session(ctx context.Context, jsCode string) *SnsJsCode2sessionResult
- func (c *Client) SubscribeMessageSend(ctx context.Context, notMustParams ...gorequest.Params) *SubscribeMessageSendResult
- 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
- func (c *Client) WxaBusinessGetUserPhoneNumber(ctx context.Context, code string) *WxaBusinessGetUserPhoneNumberResult
- func (c *Client) WxaGenerateScheme(ctx context.Context, notMustParams ...gorequest.Params) *WxaGenerateSchemeResult
- func (c *Client) WxaGenerateUrlLink(ctx context.Context, notMustParams ...gorequest.Params) *WxaGenerateUrlLinkResult
- func (c *Client) WxaGetUserRiskRank(ctx context.Context, notMustParams ...gorequest.Params) *WxaGetUserRiskRankResult
- func (c *Client) WxaGetWxaCode(ctx context.Context, notMustParams ...gorequest.Params) *WxaGetWxaCodeResult
- func (c *Client) WxaGetWxaCodeUnLimit(ctx context.Context, notMustParams ...gorequest.Params) *WxaGetWxaCodeUnLimitResult
- func (c *Client) WxaMediaCheckAsync(ctx context.Context, notMustParams ...gorequest.Params) *WxaMediaCheckAsyncResult
- func (c *Client) WxaMsgSecCheck(ctx context.Context, notMustParams ...gorequest.Params) *WxaMsgSecCheckResult
- func (c *Client) WxaQueryScheme(ctx context.Context, notMustParams ...gorequest.Params) *WxaQuerySchemeResult
- func (c *Client) WxaQueryUrlLink(ctx context.Context, urlLink string) *WxaQueryUrlLinkResult
- 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"
)
Variables ¶
This section is empty.
Functions ¶
func UserInfoAvatarUrlReal ¶ added in v1.0.47
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 // 请求 Err error // 错误 }
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 // 请求 Err error // 错误 }
type Client ¶ added in v1.0.47
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func NewClient ¶ added in v1.0.47
func NewClient(config *ClientConfig) (*Client, error)
NewClient 创建实例化
func (*Client) BusinessGetLiveInfo ¶ added in v1.0.47
func (c *Client) BusinessGetLiveInfo(ctx context.Context, notMustParams ...gorequest.Params) *BusinessGetLiveInfoResult
BusinessGetLiveInfo 获取直播间列表 调用此接口获取直播间列表及直播间信息 https://developers.weixin.qq.com/miniprogram/dev/platform-capabilities/industry/liveplayer/studio-api.html
func (*Client) CgiBinToken ¶ added in v1.0.47
func (c *Client) CgiBinToken(ctx context.Context) *CgiBinTokenResult
CgiBinToken 接口调用凭证 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/access-token/auth.getAccessToken.html
func (*Client) CgiBinWxaAppCreateWxaQrCode ¶ added in v1.0.47
func (c *Client) CgiBinWxaAppCreateWxaQrCode(ctx context.Context, notMustParams ...gorequest.Params) *CgiBinWxaAppCreateWxaQrCodeResult
CgiBinWxaAppCreateWxaQrCode 获取小程序二维码,适用于需要的码数量较少的业务场景。通过该接口生成的小程序码,永久有效,有数量限制 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.createQRCode.html
func (*Client) ConfigApiClientFun ¶ added in v1.0.52
func (c *Client) ConfigApiClientFun(apiClientFun golog.ApiClientFun)
ConfigApiClientFun 日志配置
func (*Client) GetAccessToken ¶ added in v1.0.47
func (*Client) GetAccessTokenMonitor ¶ added in v1.0.47
func (*Client) GetAppSecret ¶ added in v1.0.52
func (*Client) GetCallBackIp ¶ added in v1.0.47
func (c *Client) GetCallBackIp(ctx context.Context) *GetCallBackIpResult
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) SnsJsCode2session ¶ added in v1.0.47
func (c *Client) SnsJsCode2session(ctx context.Context, jsCode string) *SnsJsCode2sessionResult
SnsJsCode2session 登录凭证校验 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/login/auth.code2Session.html
func (*Client) SubscribeMessageSend ¶ added in v1.0.47
func (c *Client) SubscribeMessageSend(ctx context.Context, notMustParams ...gorequest.Params) *SubscribeMessageSendResult
SubscribeMessageSend 发送订阅消息 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.send.html
func (*Client) UserInfo ¶ added in v1.0.47
func (c *Client) UserInfo(ctx context.Context, param UserInfo) *UserInfoResult
UserInfo 解密用户信息
func (*Client) UserPhone ¶ added in v1.0.47
func (c *Client) UserPhone(ctx context.Context, param UserPhone) *UserPhoneResult
UserPhone 解密手机号信息
func (*Client) WxaApiFeedbackList ¶ added in v1.0.47
func (c *Client) WxaApiFeedbackList(ctx context.Context, notMustParams ...gorequest.Params) *WxaApiFeedbackListResult
WxaApiFeedbackList 获取用户反馈列表 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getFeedback.html
func (*Client) WxaBusinessGetUserPhoneNumber ¶ added in v1.0.47
func (c *Client) WxaBusinessGetUserPhoneNumber(ctx context.Context, code string) *WxaBusinessGetUserPhoneNumberResult
WxaBusinessGetUserPhoneNumber code换取用户手机号。 每个code只能使用一次,code的有效期为5min https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/phonenumber/phonenumber.getPhoneNumber.html
func (*Client) WxaGenerateScheme ¶ added in v1.0.47
func (c *Client) WxaGenerateScheme(ctx context.Context, notMustParams ...gorequest.Params) *WxaGenerateSchemeResult
WxaGenerateScheme 获取小程序 scheme 码,适用于短信、邮件、外部网页、微信内等拉起小程序的业务场景。通过该接口,可以选择生成到期失效和永久有效的小程序码,有数量限制,目前仅针对国内非个人主体的小程序开放 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-scheme/urlscheme.generate.html
func (*Client) WxaGenerateUrlLink ¶ added in v1.0.47
func (c *Client) WxaGenerateUrlLink(ctx context.Context, notMustParams ...gorequest.Params) *WxaGenerateUrlLinkResult
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.111
func (c *Client) WxaGetUserRiskRank(ctx context.Context, notMustParams ...gorequest.Params) *WxaGetUserRiskRankResult
WxaGetUserRiskRank 获取用户安全等级 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/sec-center/safety-control-capability/getUserRiskRank.html
func (*Client) WxaGetWxaCode ¶ added in v1.0.47
func (c *Client) WxaGetWxaCode(ctx context.Context, notMustParams ...gorequest.Params) *WxaGetWxaCodeResult
WxaGetWxaCode 获取小程序码,适用于需要的码数量较少的业务场景。通过该接口生成的小程序码,永久有效,有数量限制 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.get.html
func (*Client) WxaGetWxaCodeUnLimit ¶ added in v1.0.47
func (c *Client) WxaGetWxaCodeUnLimit(ctx context.Context, notMustParams ...gorequest.Params) *WxaGetWxaCodeUnLimitResult
WxaGetWxaCodeUnLimit 获取小程序码,适用于需要的码数量极多的业务场景。通过该接口生成的小程序码,永久有效,数量暂无限制 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.getUnlimited.html
func (*Client) WxaMediaCheckAsync ¶ added in v1.0.111
func (c *Client) WxaMediaCheckAsync(ctx context.Context, notMustParams ...gorequest.Params) *WxaMediaCheckAsyncResult
WxaMediaCheckAsync 音视频内容安全识别 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/sec-center/sec-check/mediaCheckAsync.html
func (*Client) WxaMsgSecCheck ¶ added in v1.0.111
func (c *Client) WxaMsgSecCheck(ctx context.Context, notMustParams ...gorequest.Params) *WxaMsgSecCheckResult
WxaMsgSecCheck 文本内容安全识别 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.getUnlimited.html
func (*Client) WxaQueryScheme ¶ added in v1.0.47
func (c *Client) WxaQueryScheme(ctx context.Context, notMustParams ...gorequest.Params) *WxaQuerySchemeResult
WxaQueryScheme 查询小程序 scheme 码,及长期有效 quota https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-scheme/urlscheme.query.html
func (*Client) WxaQueryUrlLink ¶ added in v1.0.47
func (c *Client) WxaQueryUrlLink(ctx context.Context, urlLink string) *WxaQueryUrlLinkResult
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.52
type ClientConfig struct { AppId string // 小程序唯一凭证,即 appId AppSecret string // 小程序唯一凭证密钥,即 appSecret RedisClient *dorm.RedisClient // 缓存数据库 RedisCachePrefixFun redisCachePrefixFun // 缓存前缀 }
ClientConfig 实例配置
type GetCallBackIpResponse ¶
type GetCallBackIpResponse struct {
IpList []string `json:"ip_list"`
}
type GetCallBackIpResult ¶
type GetCallBackIpResult struct { Result GetCallBackIpResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
type SaveImgResponse ¶
type SnsJsCode2sessionResult ¶
type SnsJsCode2sessionResult struct { Result SnsJsCode2sessionResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
type SubscribeMessageSendResult ¶
type SubscribeMessageSendResult struct { Result SubscribeMessageSendResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
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 ¶ added in v1.0.47
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 ¶ added in v1.0.47
type WxaApiFeedbackListResult struct { Result WxaApiFeedbackListResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
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 // 请求 Err error // 错误 }
type WxaGenerateSchemeResult ¶
type WxaGenerateSchemeResult struct { Result WxaGenerateSchemeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
type WxaGenerateUrlLinkResult ¶
type WxaGenerateUrlLinkResult struct { Result WxaGenerateUrlLinkResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
type WxaGetUserRiskRankResponse ¶ added in v1.0.111
type WxaGetUserRiskRankResult ¶ added in v1.0.111
type WxaGetUserRiskRankResult struct { Result WxaGetUserRiskRankResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
type WxaGetWxaCodeResponse ¶
type WxaGetWxaCodeResult ¶
type WxaGetWxaCodeResult struct { Result WxaGetWxaCodeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
func (*WxaGetWxaCodeResult) Check ¶ added in v1.0.47
func (resp *WxaGetWxaCodeResult) Check() error
Check 检查
func (*WxaGetWxaCodeResult) ErrcodeInfo ¶ added in v1.0.47
func (resp *WxaGetWxaCodeResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaGetWxaCodeUnLimitResult ¶
type WxaGetWxaCodeUnLimitResult struct { Result WxaGetWxaCodeUnLimitResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
func (*WxaGetWxaCodeUnLimitResult) Check ¶ added in v1.0.47
func (resp *WxaGetWxaCodeUnLimitResult) Check() error
Check 检查
func (*WxaGetWxaCodeUnLimitResult) ErrcodeInfo ¶ added in v1.0.47
func (resp *WxaGetWxaCodeUnLimitResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaMediaCheckAsyncResponse ¶ added in v1.0.111
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.111
type WxaMediaCheckAsyncResult struct { Result WxaMediaCheckAsyncResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
type WxaMsgSecCheckResponse ¶ added in v1.0.111
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.111
type WxaMsgSecCheckResult struct { Result WxaMsgSecCheckResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 Err error // 错误 }
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 // 请求 Err error // 错误 }
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 // 请求 Err error // 错误 }
Source Files ¶
- api.go
- cgi-bin.clear_quota.go
- cgi-bin.clear_quota.v2.go
- cgi-bin.getcallbackip.go
- cgi-bin.media.get.go
- cgi-bin.media.upload.go
- cgi-bin.message.custom.business.send.go
- cgi-bin.message.custom.business.typing.go
- cgi-bin.message.subscribe.send.go
- cgi-bin.message.wxopen.activityid.create.go
- cgi-bin.message.wxopen.template.uniform_send.go
- cgi-bin.message.wxopen.updatablemsg.send.go
- cgi-bin.openapi.quota.get.go
- cgi-bin.openapi.rid.get.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
- datacube.getweanalysisappidweeklyretaininfo.go
- error.go
- get.go
- request.go
- save_img.go
- sign.go
- sns.jscode2session.go
- user_info.go
- user_phone.go
- wxa.business.checkencryptedmsg.go
- wxa.business.getliveinfo.go
- wxa.business.getuserencryptkey.go
- wxa.business.getuserphonenumber.go
- wxa.generate_urllink.go
- wxa.generatenfcscheme.go
- wxa.generatescheme.go
- wxa.genwxashortlink.go
- wxa.getpaidunionid.go
- wxa.getpluginopenpid.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
- wxaapi.newtmpl.addtemplate.go
- wxaapi.newtmpl.deltemplate.go
- wxaapi.newtmpl.getcategory.go
- wxaapi.newtmpl.getpubtemplatekeywords.go
- wxaapi.newtmpl.getpubtemplatetitles.go
- wxaapi.newtmpl.gettemplate.go