wechatminiprogram

package module
v1.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 15 Imported by: 0

README

Golang

📦 Golang 微信小程序

godoc goproxy.cn goreportcard.com deps.dev

安装

go get -v -u go.dtapp.net/wechatminiprogram@v1.0.15

Documentation

Index

Constants

View Source
const (
	LogTable = "wechatminiprogram"
)
View Source
const (
	Version = "1.0.15"
)

Variables

This section is empty.

Functions

func UserInfoAvatarUrlReal

func UserInfoAvatarUrlReal(avatarUrl string) string

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 CgiBinTokenResponse struct {
	AccessToken string `json:"access_token"` // 获取到的凭证
	ExpiresIn   int    `json:"expires_in"`   // 凭证有效时间,单位:秒。目前是7200秒之内的值
	Errcode     int    `json:"errcode"`      // 错误码
	Errmsg      string `json:"errmsg"`       // 错误信息
}

type CgiBinTokenResult

type CgiBinTokenResult struct {
	Result CgiBinTokenResponse // 结果
	Body   []byte              // 内容
	Http   gorequest.Response  // 请求
	Err    error               // 错误
}

type CgiBinWxaAppCreateWxaQrCodeResponse

type CgiBinWxaAppCreateWxaQrCodeResponse struct {
	Errcode     int         `json:"errcode"`
	Errmsg      string      `json:"errmsg"`
	ContentType string      `json:"contentType"`
	Buffer      interface{} `json:"buffer"`
}

type CgiBinWxaAppCreateWxaQrCodeResult

type CgiBinWxaAppCreateWxaQrCodeResult struct {
	Result CgiBinWxaAppCreateWxaQrCodeResponse // 结果
	Body   []byte                              // 内容
	Http   gorequest.Response                  // 请求
}

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client 实例

func NewClient

func NewClient(config *ClientConfig) (*Client, error)

NewClient 创建实例化

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) 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) ConfigApp

func (c *Client) ConfigApp(appId, appSecret string) *Client

ConfigApp 配置

func (*Client) ConfigRedisCachePrefixFunWechatAccessToken added in v1.0.11

func (c *Client) ConfigRedisCachePrefixFunWechatAccessToken(config string) error

ConfigRedisCachePrefixFunWechatAccessToken 缓存前缀

func (*Client) ConfigRedisClient added in v1.0.11

func (c *Client) ConfigRedisClient(client *redis.Client)

ConfigRedisClient 缓存数据库

func (*Client) Get added in v1.0.11

func (c *Client) Get(ctx context.Context, _method string, notMustParams ...gorequest.Params) ([]byte, error)

func (*Client) GetAccessToken

func (c *Client) GetAccessToken(ctx context.Context) string

func (*Client) GetAccessTokenMonitor

func (c *Client) GetAccessTokenMonitor(ctx context.Context) (string, error)

func (*Client) GetAppId

func (c *Client) GetAppId() string

func (*Client) GetAppSecret added in v1.0.5

func (c *Client) GetAppSecret() string

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) Post added in v1.0.11

func (c *Client) Post(ctx context.Context, _method string, notMustParams ...gorequest.Params) ([]byte, error)

func (*Client) SaveImg

func (c *Client) SaveImg(ctx context.Context, resp gorequest.Response, dir, saveName string) SaveImgResponse

func (*Client) SetAccessToken added in v1.0.11

func (c *Client) SetAccessToken(ctx context.Context, accessToken string) string

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) 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) 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 (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 (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 SaveImgResponse struct {
	Path string
	Name string
}

type SnsJsCode2sessionResponse

type SnsJsCode2sessionResponse struct {
	OpenId     string `json:"openid"`      // 用户唯一标识
	SessionKey string `json:"session_key"` // 会话密钥
	Unionid    string `json:"unionid"`     // 用户在开放平台的唯一标识符,若当前小程序已绑定到微信开放平台帐号下会返回
	Errcode    string `json:"errcode"`     // 错误码
	Errmsg     string `json:"errmsg"`      // 错误信息
}

type SnsJsCode2sessionResult

type SnsJsCode2sessionResult struct {
	Result SnsJsCode2sessionResponse // 结果
	Body   []byte                    // 内容
	Http   gorequest.Response        // 请求
}

type SubscribeMessageSendResponse

type SubscribeMessageSendResponse struct {
	Errcode int    // 错误码
	Errmsg  string // 错误信息
}

type SubscribeMessageSendResult

type SubscribeMessageSendResult struct {
	Result SubscribeMessageSendResponse // 结果
	Body   []byte                       // 内容
	Http   gorequest.Response           // 请求
}

type UserInfo

type UserInfo struct {
	SessionKey    string `json:"session_key"`
	EncryptedData string `json:"encrypted_data"`
	Iv            string `json:"iv"`
}

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 UserPhone

type UserPhone struct {
	SessionKey    string `json:"session_key"`
	EncryptedData string `json:"encrypted_data"`
	Iv            string `json:"iv"`
}

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 WxaGenerateSchemeResponse

type WxaGenerateSchemeResponse struct {
	Errcode int         `json:"errcode"`
	Errmsg  string      `json:"errmsg"`
	UrlLink interface{} `json:"url_link"`
}

type WxaGenerateSchemeResult

type WxaGenerateSchemeResult struct {
	Result WxaGenerateSchemeResponse // 结果
	Body   []byte                    // 内容
	Http   gorequest.Response        // 请求
}

type WxaGenerateUrlLinkResponse

type WxaGenerateUrlLinkResponse struct {
	Errcode  int         `json:"errcode"`
	Errmsg   string      `json:"errmsg"`
	Openlink interface{} `json:"openlink"`
}

type WxaGenerateUrlLinkResult

type WxaGenerateUrlLinkResult struct {
	Result WxaGenerateUrlLinkResponse // 结果
	Body   []byte                     // 内容
	Http   gorequest.Response         // 请求
}

type WxaGetUserRiskRankResponse added in v1.0.11

type WxaGetUserRiskRankResponse struct {
	Errcode  int    `json:"errcode"`   // 错误码
	Errmsg   string `json:"errmsg"`    // 错误信息
	RiskRank int    `json:"risk_rank"` // 用户风险等级,合法值为0,1,2,3,4,数字越大风险越高。
	UnoinId  int64  `json:"unoin_id"`  // 唯一请求标识,标记单次请求
}

type WxaGetUserRiskRankResult added in v1.0.11

type WxaGetUserRiskRankResult struct {
	Result WxaGetUserRiskRankResponse // 结果
	Body   []byte                     // 内容
	Http   gorequest.Response         // 请求
}

type WxaGetWxaCodeResponse

type WxaGetWxaCodeResponse struct {
	Errcode     int         `json:"errcode"`
	Errmsg      string      `json:"errmsg"`
	ContentType string      `json:"contentType"`
	Buffer      interface{} `json:"buffer"`
}

type WxaGetWxaCodeResult

type WxaGetWxaCodeResult struct {
	Result WxaGetWxaCodeResponse // 结果
	Body   []byte                // 内容
	Http   gorequest.Response    // 请求
}

func (*WxaGetWxaCodeResult) Check

func (resp *WxaGetWxaCodeResult) Check() error

Check 检查

func (*WxaGetWxaCodeResult) ErrcodeInfo

func (resp *WxaGetWxaCodeResult) ErrcodeInfo() string

ErrcodeInfo 错误描述

type WxaGetWxaCodeUnLimitResponse

type WxaGetWxaCodeUnLimitResponse struct {
	Errcode     int         `json:"errcode"`
	Errmsg      string      `json:"errmsg"`
	ContentType string      `json:"contentType"`
	Buffer      interface{} `json:"buffer"`
}

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      // 请求
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL