Documentation ¶
Index ¶
- Constants
- func AESDecryptData(cipherText, aesKey, iv []byte) (rawData []byte, err error)
- func AESDecryptMsg(decryptStr, aesKey string) (string, error)
- func AESEncryptMsg(random, rawXMLMsg []byte, appId string, aesKey []byte) (ciphertext []byte)
- func AesDecrypt(cipherData []byte, aesKey []byte) ([]byte, error)
- func CheckSignature(signature, timeStamp, nonce string, token string) bool
- func MsgSign(token, timestamp, nonce, encryptedMsg string) (signature string)
- func Sign(token, timestamp, nonce string) (signature string)
- func UserInfoAvatarUrlReal(avatarUrl string) string
- func XmlDecode(data string) map[string]string
- type BindTesterResponse
- type BindTesterResult
- type CgiBinComponentApiAuthorizerTokenResponse
- type CgiBinComponentApiAuthorizerTokenResult
- type CgiBinComponentApiComponentTokenResponse
- type CgiBinComponentApiComponentTokenResult
- type CgiBinComponentApiCreatePreAuthCodenResponse
- type CgiBinComponentApiCreatePreAuthCodenResult
- type CgiBinComponentApiGetAuthorizerInfoResponse
- type CgiBinComponentApiGetAuthorizerInfoResult
- type CgiBinComponentApiQueryAuthResponse
- type CgiBinComponentApiQueryAuthResult
- type CgiBinComponentApiStartPushTicketResponse
- type CgiBinComponentApiStartPushTicketResult
- type CgiBinComponentFastRegisterWeAppCreateResponse
- type CgiBinComponentFastRegisterWeAppCreateResult
- type CgiBinComponentFastRegisterWeAppSearchResponse
- type CgiBinComponentFastRegisterWeAppSearchResult
- type CgiBinComponentGetPrivacySettingResponse
- type CgiBinComponentGetPrivacySettingResult
- type CgiBinComponentSetPrivacySettingResponse
- type CgiBinComponentSetPrivacySettingResult
- type CgiBinGetApiDomainIpResponse
- type CgiBinGetApiDomainIpResult
- type CgiBinGetCallBackIpResponse
- type CgiBinGetCallBackIpResult
- type CgiBinMaterialGetMaterialResponse
- type CgiBinMaterialGetMaterialResult
- type CgiBinOpenSameEnTityResponse
- type CgiBinOpenSameEnTityResult
- type CgiBinOpenapiRidGetResponse
- type CgiBinOpenapiRidGetResult
- type CgiBinShortUrlResponse
- type CgiBinShortUrlResult
- type CgiBinWxOpenQrCodeJumpAddResponse
- type CgiBinWxOpenQrCodeJumpAddResult
- type CgiBinWxOpenQrCodeJumpDeleteResponse
- type CgiBinWxOpenQrCodeJumpDeleteResult
- type CgiBinWxOpenQrCodeJumpDownloadResponse
- type CgiBinWxOpenQrCodeJumpDownloadResult
- type CgiBinWxOpenQrCodeJumpGetResponse
- type CgiBinWxOpenQrCodeJumpGetResult
- type CgiBinWxOpenQrCodeJumpPublishResponse
- type CgiBinWxOpenQrCodeJumpPublishResult
- type ClearComponentQuotaByAppSecretResponse
- type ClearComponentQuotaByAppSecretResult
- type ClearQuotaResponse
- type ClearQuotaResult
- type Client
- func (c *Client) BindTester(ctx context.Context, authorizerAccessToken, wechatid string, ...) (*BindTesterResult, error)
- func (c *Client) CgiBinComponentApiAuthorizerToken(ctx context.Context, ...) (*CgiBinComponentApiAuthorizerTokenResult, error)
- func (c *Client) CgiBinComponentApiComponentToken(ctx context.Context, componentVerifyTicket string, ...) (*CgiBinComponentApiComponentTokenResult, error)
- func (c *Client) CgiBinComponentApiCreatePreAuthCoden(ctx context.Context, componentAccessToken string, ...) (*CgiBinComponentApiCreatePreAuthCodenResult, error)
- func (c *Client) CgiBinComponentApiGetAuthorizerInfo(ctx context.Context, authorizerAppid, componentAccessToken string, ...) (*CgiBinComponentApiGetAuthorizerInfoResult, error)
- func (c *Client) CgiBinComponentApiQueryAuth(ctx context.Context, componentAccessToken, authorizationCode string, ...) (*CgiBinComponentApiQueryAuthResult, error)
- func (c *Client) CgiBinComponentApiStartPushTicket(ctx context.Context, notMustParams ...*gorequest.Params) (*CgiBinComponentApiStartPushTicketResult, error)
- func (c *Client) CgiBinComponentFastRegisterWeAppCreate(ctx context.Context, componentAccessToken string, ...) (*CgiBinComponentFastRegisterWeAppCreateResult, error)
- func (c *Client) CgiBinComponentFastRegisterWeAppSearch(ctx context.Context, componentAccessToken string, ...) (*CgiBinComponentFastRegisterWeAppSearchResult, error)
- func (c *Client) CgiBinComponentGetPrivacySetting(ctx context.Context, authorizerAccessToken string, privacyVer int, ...) (*CgiBinComponentGetPrivacySettingResult, error)
- func (c *Client) CgiBinComponentSetPrivacySetting(ctx context.Context, authorizerAccessToken string, ...) (*CgiBinComponentSetPrivacySettingResult, error)
- func (c *Client) CgiBinGetApiDomainIp(ctx context.Context, componentAccessToken string, ...) (*CgiBinGetApiDomainIpResult, error)
- func (c *Client) CgiBinGetCallBackIp(ctx context.Context, authorizerAccessToken string, ...) (*CgiBinGetCallBackIpResult, error)
- func (c *Client) CgiBinMaterialGetMaterial(ctx context.Context, authorizerAccessToken, mediaId string, ...) (*CgiBinMaterialGetMaterialResult, error)
- func (c *Client) CgiBinOpenSameEnTity(ctx context.Context, componentAccessToken string, ...) (*CgiBinOpenSameEnTityResult, error)
- func (c *Client) CgiBinOpenapiQuotaGet(ctx context.Context, componentAccessToken string, cgiPath string, ...) (*cgiBinOpenapiQuotaGetResult, error)
- func (c *Client) CgiBinOpenapiRidGet(ctx context.Context, authorizerAccessToken, rid string, ...) (*CgiBinOpenapiRidGetResult, error)
- func (c *Client) CgiBinShortUrl(ctx context.Context, authorizerAccessToken, longUrl string, ...) (*CgiBinShortUrlResult, error)
- func (c *Client) CgiBinWxOpenQrCodeJumpAdd(ctx context.Context, authorizerAccessToken string, ...) (*CgiBinWxOpenQrCodeJumpAddResult, error)
- func (c *Client) CgiBinWxOpenQrCodeJumpDelete(ctx context.Context, authorizerAccessToken, prefix string, ...) (*CgiBinWxOpenQrCodeJumpDeleteResult, error)
- func (c *Client) CgiBinWxOpenQrCodeJumpDownload(ctx context.Context, authorizerAccessToken string, ...) (*CgiBinWxOpenQrCodeJumpDownloadResult, error)
- func (c *Client) CgiBinWxOpenQrCodeJumpGet(ctx context.Context, authorizerAccessToken string, ...) (*CgiBinWxOpenQrCodeJumpGetResult, error)
- func (c *Client) CgiBinWxOpenQrCodeJumpPublish(ctx context.Context, authorizerAccessToken, prefix string, ...) (*CgiBinWxOpenQrCodeJumpPublishResult, error)
- func (c *Client) ClearComponentQuotaByAppSecret(ctx context.Context, authorizerAccessToken, appid string, ...) (*ClearComponentQuotaByAppSecretResult, error)
- func (c *Client) ClearQuota(ctx context.Context, authorizerAccessToken, appid string, ...) (*ClearQuotaResult, error)
- func (c *Client) Commit(ctx context.Context, authorizerAccessToken string, ...) (*CommitResult, error)
- func (c *Client) CreateQRCode(ctx context.Context, authorizerAccessToken string, ...) (*CreateQRCodeResult, error)
- func (c *Client) DataCubeGetWeAnAlySisAppidDailyRetainInfo(ctx context.Context, authorizerAccessToken, beginDate, endDate string, ...) (*DataCubeGetWeAnAlySisAppidDailyRetainInfoResult, error)
- func (c *Client) DataCubeGetWeAnAlySisAppidDailySummaryTrend(ctx context.Context, authorizerAccessToken, beginDate, endDate string, ...) (*DataCubeGetWeAnAlySisAppidDailySummaryTrendResult, error)
- func (c *Client) DataCubeGetWeAnAlySisAppidDailyVisitTrend(ctx context.Context, authorizerAccessToken, beginDate, endDate string, ...) (*DataCubeGetWeAnAlySisAppidDailyVisitTrendResult, error)
- func (c *Client) DataCubeGetWeAnAlySisAppidMonthlyRetainInfo(ctx context.Context, authorizerAccessToken, beginDate, endDate string, ...) (*DataCubeGetWeAnAlySisAppidMonthlyRetainInfoResult, error)
- func (c *Client) DataCubeGetWeAnAlySisAppidMonthlyVisitTrend(ctx context.Context, authorizerAccessToken, beginDate, endDate string, ...) (*DataCubeGetWeAnAlySisAppidMonthlyVisitTrendResult, error)
- func (c *Client) DataCubeGetWeAnAlySisAppidUserPortrait(ctx context.Context, authorizerAccessToken, beginDate, endDate string, ...) (*DataCubeGetWeAnAlySisAppidUserPortraitResult, error)
- func (c *Client) DataCubeGetWeAnAlySisAppidVisitPage(ctx context.Context, authorizerAccessToken, beginDate, endDate string, ...) (*DataCubeGetWeAnAlySisAppidVisitPageResult, error)
- func (c *Client) DataCubeGetWeAnAlySisAppidWeeklyRetainInfo(ctx context.Context, authorizerAccessToken, beginDate, endDate string, ...) (*DataCubeGetWeAnAlySisAppidWeeklyRetainInfoResult, error)
- func (c *Client) DataCubeGetWeAnAlySisAppidWeeklyVisitTrend(ctx context.Context, authorizerAccessToken, beginDate, endDate string, ...) (*DataCubeGetWeAnAlySisAppidWeeklyVisitTrendResult, error)
- func (c *Client) DataCubeGetWeAnAlysIsAppidVisitDistribution(ctx context.Context, authorizerAccessToken, beginDate, endDate string, ...) (*DataCubeGetWeAnAlysIsAppidVisitDistributionResult, error)
- func (c *Client) GenerateNFCScheme(ctx context.Context, authorizerAccessToken string, ...) (*GenerateNFCSchemeResult, error)
- func (c *Client) GenerateScheme(ctx context.Context, authorizerAccessToken string, ...) (*GenerateSchemeResult, error)
- func (c *Client) GenerateShortLink(ctx context.Context, authorizerAccessToken string, ...) (*GenerateShortLinkResult, error)
- func (c *Client) GenerateUrlLink(ctx context.Context, authorizerAccessToken string, ...) (*GenerateUrlLinkResult, error)
- func (c *Client) GetAccountBasicInfo(ctx context.Context, authorizerAccessToken string, ...) (*GetAccountBasicInfoResult, error)
- func (c *Client) GetAuditStatus(ctx context.Context, authorizerAccessToken string, auditid int64, ...) (*GetAuditStatusResult, error)
- func (c *Client) GetAuthorizerAccessToken() string
- func (c *Client) GetAuthorizerAppid() string
- func (c *Client) GetAuthorizerList(ctx context.Context, authorizerAppid, componentAccessToken string, ...) (*GetAuthorizerListResult, error)
- func (c *Client) GetAuthorizerRefreshToken() string
- func (c *Client) GetComponentAccessToken() string
- func (c *Client) GetComponentAppId() string
- func (c *Client) GetComponentAppSecret() string
- func (c *Client) GetComponentPreAuthCode() string
- func (c *Client) GetComponentVerifyTicket() string
- func (c *Client) GetJumpDomainConfirmFile(ctx context.Context, authorizerAccessToken string, ...) (*GetJumpDomainConfirmFileResult, error)
- func (c *Client) GetLatestAuditStatus(ctx context.Context, authorizerAccessToken string, ...) (*GetLatestAuditStatusResult, error)
- func (c *Client) GetMessageKey() string
- func (c *Client) GetMessageToken() string
- func (c *Client) GetOnlineIcpOrder(ctx context.Context, authorizerAccessToken string, ...) (*GetOnlineIcpOrderResult, error)
- func (c *Client) GetQRCode(ctx context.Context, authorizerAccessToken string, ...) (*GetQRCodeResult, error)
- func (c *Client) GetSettingCategories(ctx context.Context, authorizerAccessToken string, ...) (*GetSettingCategoriesResult, error)
- func (c *Client) GetTester(ctx context.Context, authorizerAccessToken string, ...) (*GetTesterResult, error)
- func (c *Client) GetThirdpartyJumpDomainConfirmFile(ctx context.Context, authorizerAccessToken string, ...) (*GetThirdpartyJumpDomainConfirmFileResult, error)
- func (c *Client) GetTrialQRCode(ctx context.Context, authorizerAccessToken, path string, ...) (*GetTrialQRCodeResult, error)
- func (c *Client) GetUnlimitedQRCode(ctx context.Context, authorizerAccessToken string, ...) (*GetUnlimitedQRCodeResult, error)
- func (c *Client) GetVersionInfo(ctx context.Context, authorizerAccessToken string, ...) (*GetVersionInfoResult, error)
- func (c *Client) ModifyJumpDomainDirectly(ctx context.Context, authorizerAccessToken string, action string, ...) (*ModifyJumpDomainDirectlyResult, error)
- func (c *Client) ModifyThirdpartyJumpDomain(ctx context.Context, componentAccessToken string, action string, ...) (*ModifyThirdpartyJumpDomainResult, error)
- func (c *Client) ModifyThirdpartyServerDomain(ctx context.Context, componentAccessToken string, action string, ...) (*ModifyThirdpartyServerDomainResult, error)
- func (c *Client) QueryScheme(ctx context.Context, authorizerAccessToken string, ...) (*QuerySchemeResult, error)
- func (c *Client) QueryUrlLink(ctx context.Context, authorizerAccessToken string, ...) (*QueryUrlLinkResult, error)
- func (c *Client) Release(ctx context.Context, authorizerAccessToken string, ...) (*ReleaseResult, error)
- func (c *Client) RevertCodeRelease(ctx context.Context, authorizerAccessToken string, ...) (*RevertCodeReleaseResult, error)
- func (c *Client) SaveImg(ctx context.Context, resp gorequest.Response, dir, saveName string) SaveImgResponse
- func (c *Client) ServeHttpAuthorizerAppid(ctx context.Context, w http.ResponseWriter, r *http.Request, ...) (resp CgiBinComponentApiQueryAuthResponse, agentUserId string, err error)
- func (c *Client) ServeHttpHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (ResponseServeHttpHttp, error)
- func (c *Client) ServeHttpVerifyTicket(ctx context.Context, w http.ResponseWriter, r *http.Request) (resp *ResponseServeHttpVerifyTicket, err error)
- func (c *Client) SetAuthorizerAccessToken(v string) *Client
- func (c *Client) SetAuthorizerAppid(v string) *Client
- func (c *Client) SetAuthorizerRefreshToken(v string) *Client
- func (c *Client) SetClientIP(clientIP string) *Client
- func (c *Client) SetCodeAuditQuota(ctx context.Context, authorizerAccessToken string, ...) (*SetCodeAuditQuotaResult, error)
- func (c *Client) SetComponentAccessToken(v string) *Client
- func (c *Client) SetComponentAppId(v string) *Client
- func (c *Client) SetComponentAppSecret(v string) *Client
- func (c *Client) SetComponentPreAuthCode(v string) *Client
- func (c *Client) SetComponentVerifyTicket(v string) *Client
- func (c *Client) SetLogFun(logFun gorequest.LogFunc)
- func (c *Client) SetMessageKey(v string) *Client
- func (c *Client) SetMessageToken(v string) *Client
- func (c *Client) SignDecrypt(ctx context.Context, params SignDecryptParams, strXml interface{}) (resp []byte, err error)
- func (c *Client) SubmitAudit(ctx context.Context, authorizerAccessToken string, ...) (*SubmitAuditResult, error)
- func (c *Client) TckWxPayList(ctx context.Context, componentAccessToken string, ...) (*TckWxPayListResult, error)
- func (c *Client) ThirdpartyCode2Session(ctx context.Context, componentAccessToken, authorizerAppid, jsCode string, ...) (*ThirdpartyCode2SessionResult, error)
- func (c *Client) UnbindTester(ctx context.Context, authorizerAccessToken, wechatid, userstr string, ...) (*UnbindTesterResult, error)
- func (c *Client) UndoAudit(ctx context.Context, authorizerAccessToken string, auditid int64, ...) (*UndoAuditResult, error)
- func (c *Client) WxaAddToTemplate(ctx context.Context, componentAccessToken, draftId string, templateType int, ...) (*WxaAddToTemplateResult, error)
- func (c *Client) WxaApiWxAembeddedGetOwnList(ctx context.Context, authorizerAccessToken string, ...) (*WxaApiWxAembeddedGetOwnListResult, error)
- func (c *Client) WxaApiWxAembeddedSetAuthorize(ctx context.Context, authorizerAccessToken string, ...) (*WxaApiWxAembeddedSetAuthorizeResult, error)
- func (c *Client) WxaApiWxaembeddedAddEmbedded(ctx context.Context, authorizerAccessToken string, ...) (*WxaApiWxaembeddedAddEmbeddedResult, error)
- func (c *Client) WxaApiWxaembeddedDelAuthorize(ctx context.Context, authorizerAccessToken string, ...) (*WxaApiWxaembeddedDelAuthorizeResult, error)
- func (c *Client) WxaApiWxaembeddedDelEmbedded(ctx context.Context, authorizerAccessToken string, ...) (*WxaApiWxaembeddedDelEmbeddedResult, error)
- func (c *Client) WxaApiWxaembeddedGetList(ctx context.Context, authorizerAccessToken string, ...) (*WxaApiWxaembeddedGetListResult, error)
- func (c *Client) WxaBusinessGetUserPhoneNumber(ctx context.Context, authorizerAccessToken, code string, ...) (*WxaBusinessGetUserPhoneNumberResult, error)
- func (c *Client) WxaDeleteTemplate(ctx context.Context, componentAccessToken, templateId string, ...) (*WxaDeleteTemplateResult, error)
- func (c *Client) WxaGetCategory(ctx context.Context, authorizerAccessToken string, ...) (*WxaGetCategoryResult, error)
- func (c *Client) WxaGetDefaultamsInfoAgencyGetCustomShareRatio(ctx context.Context, authorizerAppid, authorizerAccessToken string, ...) (*WxaGetDefaultamsInfoAgencyGetCustomShareRatioResult, error)
- func (c *Client) WxaGetDefaultamsInfoGetShareRatio(ctx context.Context, authorizerAppid, authorizerAccessToken string, ...) (*WxaGetDefaultamsInfoGetShareRatioResult, error)
- func (c *Client) WxaGetEffectiveDomain(ctx context.Context, authorizerAccessToken string, ...) (*WxaGetEffectiveDomainResult, error)
- func (c *Client) WxaGetPage(ctx context.Context, authorizerAccessToken string, ...) (*WxaGetPageResult, error)
- func (c *Client) WxaGetTemplateDraftList(ctx context.Context, componentAccessToken string, ...) (*WxaGetTemplateDraftListResult, error)
- func (c *Client) WxaGetTemplateList(ctx context.Context, componentAccessToken string, ...) (*WxaGetTemplateListResult, error)
- func (c *Client) WxaGetUserRiskRank(ctx context.Context, authorizerAppid, authorizerAccessToken string, ...) (*WxaGetUserRiskRankResult, error)
- func (c *Client) WxaGetdefaultamsinfoGetAgencyAdsStat(ctx context.Context, authorizerAccessToken string, page, pageSize int64, ...) (*WxaGetdefaultamsinfoGetAgencyAdsStatResult, error)
- func (c *Client) WxaMediaCheckAsync(ctx context.Context, authorizerAccessToken string, ...) (*WxaMediaCheckAsyncResult, error)
- func (c *Client) WxaModifyDomain(ctx context.Context, authorizerAccessToken string, ...) (*WxaModifyDomainResult, error)
- func (c *Client) WxaModifyDomainDirectly(ctx context.Context, authorizerAccessToken string, ...) (*WxaModifyDomainDirectlyResult, error)
- func (c *Client) WxaMsgSecCheck(ctx context.Context, authorizerAccessToken string, ...) (*WxaMsgSecCheckResult, error)
- func (c *Client) WxaOperationamsAgencyCheckCanOpenPublisher(ctx context.Context, authorizerAccessToken string, ...) (*WxaOperationamsAgencyCheckCanOpenPublisherResult, error)
- func (c *Client) WxaOperationamsAgencyCreateAdunit(ctx context.Context, authorizerAccessToken string, name, Type string, ...) (*WxaOperationamsAgencyCreateAdunitResult, error)
- func (c *Client) WxaOperationamsAgencyCreatePublisher(ctx context.Context, authorizerAccessToken string, ...) (*WxaOperationamsAgencyCreatePublisherResult, error)
- func (c *Client) WxaOperationamsAgencyGetAdposGenenral(ctx context.Context, authorizerAccessToken string, page, pageSize int64, ...) (*WxaOperationamsAgencyGetAdposGenenralResult, error)
- func (c *Client) WxaSecurityApplyPrivacyInterface(ctx context.Context, authorizerAccessToken string, ...) (*WxaSecurityApplyPrivacyInterfaceResult, error)
- func (c *Client) WxaSecurityApplySetOrderPathInfo(ctx context.Context, authorizerAccessToken string, ...) (*WxaSecurityApplySetOrderPathInfoResult, error)
- func (c *Client) WxaSecurityGetOrderPathInfo(ctx context.Context, authorizerAccessToken string, infoType int, ...) (*WxaSecurityGetOrderPathInfoResult, error)
- func (c *Client) WxaSecurityGetPrivacyInterface(ctx context.Context, authorizerAccessToken string, ...) (*WxaSecurityGetPrivacyInterfaceResult, error)
- func (c *Client) WxaSetDefaultamsInfoAgencySetCustomShareRatio(ctx context.Context, authorizerAccessToken string, appid string, ...) (*WxaSetDefaultamsInfoAgencySetCustomShareRatioResult, error)
- func (c *Client) WxaSetDefaultamsInfoSetShareRatio(ctx context.Context, authorizerAccessToken string, shareRatio int64, ...) (*WxaSetDefaultamsInfoSetShareRatioResult, error)
- func (c *Client) WxaSetWebViewDoMain(ctx context.Context, authorizerAccessToken string, ...) (*WxaSetWebViewDoMainResult, error)
- type ClientConfig
- type CommitResponse
- type CommitResult
- type CreateQRCodeResponse
- type CreateQRCodeResult
- type DataCubeGetWeAnAlySisAppidDailyRetainInfoResponse
- type DataCubeGetWeAnAlySisAppidDailyRetainInfoResult
- type DataCubeGetWeAnAlySisAppidDailySummaryTrendResponse
- type DataCubeGetWeAnAlySisAppidDailySummaryTrendResult
- type DataCubeGetWeAnAlySisAppidDailyVisitTrendResponse
- type DataCubeGetWeAnAlySisAppidDailyVisitTrendResult
- type DataCubeGetWeAnAlySisAppidMonthlyRetainInfoResponse
- type DataCubeGetWeAnAlySisAppidMonthlyRetainInfoResult
- type DataCubeGetWeAnAlySisAppidMonthlyVisitTrendResponse
- type DataCubeGetWeAnAlySisAppidMonthlyVisitTrendResult
- type DataCubeGetWeAnAlySisAppidUserPortraitResponse
- type DataCubeGetWeAnAlySisAppidUserPortraitResult
- type DataCubeGetWeAnAlySisAppidVisitPageResponse
- type DataCubeGetWeAnAlySisAppidVisitPageResult
- type DataCubeGetWeAnAlySisAppidWeeklyRetainInfoResponse
- type DataCubeGetWeAnAlySisAppidWeeklyRetainInfoResult
- type DataCubeGetWeAnAlySisAppidWeeklyVisitTrendResponse
- type DataCubeGetWeAnAlySisAppidWeeklyVisitTrendResult
- type DataCubeGetWeAnAlysIsAppidVisitDistributionResponse
- type DataCubeGetWeAnAlysIsAppidVisitDistributionResult
- type GenerateNFCSchemeResponse
- type GenerateNFCSchemeResult
- type GenerateSchemeResponse
- type GenerateSchemeResult
- type GenerateShortLinkResponse
- type GenerateShortLinkResult
- type GenerateUrlLinkResponse
- type GenerateUrlLinkResult
- type GetAccountBasicInfoResponse
- type GetAccountBasicInfoResult
- type GetAuditStatusResponse
- type GetAuditStatusResult
- type GetAuthorizerListResponse
- type GetAuthorizerListResult
- type GetJumpDomainConfirmFileResponse
- type GetJumpDomainConfirmFileResult
- type GetLatestAuditStatusResponse
- type GetLatestAuditStatusResult
- type GetOnlineIcpOrderResponse
- type GetOnlineIcpOrderResult
- type GetQRCodeResponse
- type GetQRCodeResult
- type GetSettingCategoriesResponse
- type GetSettingCategoriesResult
- type GetTesterResponse
- type GetTesterResult
- type GetThirdpartyJumpDomainConfirmFileResponse
- type GetThirdpartyJumpDomainConfirmFileResult
- type GetTrialQRCodeResponse
- type GetTrialQRCodeResult
- type GetUnlimitedQRCodeResponse
- type GetUnlimitedQRCodeResult
- type GetVersionInfoResponse
- type GetVersionInfoResult
- type ModifyJumpDomainDirectlyResponse
- type ModifyJumpDomainDirectlyResult
- type ModifyThirdpartyJumpDomainResponse
- type ModifyThirdpartyJumpDomainResult
- type ModifyThirdpartyServerDomainResponse
- type ModifyThirdpartyServerDomainResult
- type QuerySchemeResponse
- type QuerySchemeResult
- type QueryUrlLinkResponse
- type QueryUrlLinkResult
- type ReleaseResponse
- type ReleaseResult
- type ResponseServeHttpHttp
- type ResponseServeHttpVerifyTicket
- type RevertCodeReleaseResponse
- type RevertCodeReleaseResult
- type SaveImgResponse
- type SetCodeAuditQuotaResponse
- type SetCodeAuditQuotaResult
- type SignDecryptAuthorizeEvent
- type SignDecryptComponentVerifyTicket
- type SignDecryptNotifyThirdFastRegisterBetaApp
- type SignDecryptNotifyThirdFastVerifyBetaApp
- type SignDecryptNotifyThirdFasteRegister
- type SignDecryptParams
- type SignDecryptWeAppAudit
- type SignDecryptWxaNicknameAudit
- type SignDecryptWxaSecurityApplySetOrderPathInfo
- type SubmitAuditResponse
- type SubmitAuditResult
- type TckWxPayListResponse
- type TckWxPayListResult
- type ThirdpartyCode2SessionResponse
- type ThirdpartyCode2SessionResult
- type UnbindTesterResponse
- type UnbindTesterResult
- type UndoAuditResponse
- type UndoAuditResult
- type UserInfo
- type UserInfoResponse
- type UserInfoResult
- type WxaAddToTemplateResponse
- type WxaAddToTemplateResult
- type WxaApiWxAembeddedGetOwnListResponse
- type WxaApiWxAembeddedGetOwnListResult
- type WxaApiWxAembeddedSetAuthorizeResponse
- type WxaApiWxAembeddedSetAuthorizeResult
- type WxaApiWxaembeddedAddEmbeddedResponse
- type WxaApiWxaembeddedAddEmbeddedResult
- type WxaApiWxaembeddedDelAuthorizeResponse
- type WxaApiWxaembeddedDelAuthorizeResult
- type WxaApiWxaembeddedDelEmbeddedResponse
- type WxaApiWxaembeddedDelEmbeddedResult
- type WxaApiWxaembeddedGetListResponse
- type WxaApiWxaembeddedGetListResult
- type WxaBusinessGetUserPhoneNumberResponse
- type WxaBusinessGetUserPhoneNumberResult
- type WxaDeleteTemplateResponse
- type WxaDeleteTemplateResult
- type WxaGetCategoryResponse
- type WxaGetCategoryResult
- type WxaGetDefaultamsInfoAgencyGetCustomShareRatioResponse
- type WxaGetDefaultamsInfoAgencyGetCustomShareRatioResult
- type WxaGetDefaultamsInfoGetShareRatioResponse
- type WxaGetDefaultamsInfoGetShareRatioResult
- type WxaGetEffectiveDomainResponse
- type WxaGetEffectiveDomainResult
- type WxaGetPageResponse
- type WxaGetPageResult
- type WxaGetTemplateDraftListResponse
- type WxaGetTemplateDraftListResult
- type WxaGetTemplateListResponse
- type WxaGetTemplateListResult
- type WxaGetUserRiskRankResponse
- type WxaGetUserRiskRankResult
- type WxaGetdefaultamsinfoGetAgencyAdsStatResponse
- type WxaGetdefaultamsinfoGetAgencyAdsStatResult
- type WxaMediaCheckAsyncResponse
- type WxaMediaCheckAsyncResult
- type WxaModifyDomainDirectlyResponse
- type WxaModifyDomainDirectlyResult
- type WxaModifyDomainResponse
- type WxaModifyDomainResult
- type WxaMsgSecCheckResponse
- type WxaMsgSecCheckResult
- type WxaOperationamsAgencyCheckCanOpenPublisherResponse
- type WxaOperationamsAgencyCheckCanOpenPublisherResult
- type WxaOperationamsAgencyCreateAdunitResponse
- type WxaOperationamsAgencyCreateAdunitResult
- type WxaOperationamsAgencyCreatePublisherResponse
- type WxaOperationamsAgencyCreatePublisherResult
- type WxaOperationamsAgencyGetAdposGenenralResponse
- type WxaOperationamsAgencyGetAdposGenenralResult
- type WxaSecurityApplyPrivacyInterfaceResponse
- type WxaSecurityApplyPrivacyInterfaceResult
- type WxaSecurityApplySetOrderPathInfoResponse
- type WxaSecurityApplySetOrderPathInfoResult
- type WxaSecurityGetOrderPathInfoResponse
- type WxaSecurityGetOrderPathInfoResult
- type WxaSecurityGetPrivacyInterfaceResponse
- type WxaSecurityGetPrivacyInterfaceResult
- type WxaSetDefaultamsInfoAgencySetCustomShareRatioResponse
- type WxaSetDefaultamsInfoAgencySetCustomShareRatioResult
- type WxaSetDefaultamsInfoSetShareRatioResponse
- type WxaSetDefaultamsInfoSetShareRatioResult
- type WxaSetWebViewDoMainResponse
- type WxaSetWebViewDoMainResult
Constants ¶
const ( BLOCK_SIZE = 32 // PKCS#7 BLOCK_MASK = BLOCK_SIZE - 1 // BLOCK_SIZE 为 2^n 时, 可以用 mask 获取针对 BLOCK_SIZE 的余数 )
const (
LogTable = "wechatopen"
)
const (
Version = "1.0.62"
)
Variables ¶
This section is empty.
Functions ¶
func AESDecryptData ¶
func AESDecryptMsg ¶
AESDecryptMsg c解密
func AESEncryptMsg ¶
AESEncryptMsg ciphertext = AES_Encrypt[random(16B) + msg_len(4B) + rawXMLMsg + appId]
func CheckSignature ¶
CheckSignature 微信公众号签名检查
func UserInfoAvatarUrlReal ¶
Types ¶
type BindTesterResponse ¶ added in v1.0.56
type BindTesterResult ¶ added in v1.0.56
type BindTesterResult struct { Result BindTesterResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*BindTesterResult) ErrcodeInfo ¶ added in v1.0.56
func (resp *BindTesterResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type CgiBinComponentApiAuthorizerTokenResult ¶
type CgiBinComponentApiAuthorizerTokenResult struct { Result CgiBinComponentApiAuthorizerTokenResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 // contains filtered or unexported fields }
type CgiBinComponentApiComponentTokenResult ¶
type CgiBinComponentApiComponentTokenResult struct { Result CgiBinComponentApiComponentTokenResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinComponentApiCreatePreAuthCodenResult ¶
type CgiBinComponentApiCreatePreAuthCodenResult struct { Result CgiBinComponentApiCreatePreAuthCodenResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinComponentApiGetAuthorizerInfoResponse ¶
type CgiBinComponentApiGetAuthorizerInfoResponse struct { AuthorizerInfo struct { NickName string `json:"nick_name"` // 昵称 HeadImg string `json:"head_img"` // 头像 ServiceTypeInfo struct { Id int64 `json:"id"` // 类型id Name string `json:"name"` // 类型说明 } `json:"service_type_info"` // 小程序类型 VerifyTypeInfo struct { Id int64 `json:"id"` // 类型id Name string `json:"name"` // 类型说明 } `json:"verify_type_info"` // 小程序认证类型 UserName string `json:"user_name"` // 原始 ID Alias string `json:"alias,omitempty"` // 公众号所设置的微信号,可能为空 QrcodeUrl string `json:"qrcode_url"` // 二维码图片的 URL,开发者最好自行也进行保存 BusinessInfo struct { OpenPay int64 `json:"open_pay"` // 是否开通微信支付功能 OpenShake int64 `json:"open_shake"` // 是否开通微信摇一摇功能 OpenScan int64 `json:"open_scan"` // 是否开通微信扫商品功能 OpenCard int64 `json:"open_card"` // 是否开通微信卡券功能 OpenStore int64 `json:"open_store"` // 是否开通微信门店功能 } `json:"business_info"` // 用以了解功能的开通状况(0代表未开通,1代表已开通) Idc int64 `json:"idc,omitempty"` PrincipalName string `json:"principal_name"` // 主体名称 Signature string `json:"signature"` // 帐号介绍 MiniProgramInfo struct { Network struct { RequestDomain []string `json:"RequestDomain"` // request合法域名 WsRequestDomain []string `json:"WsRequestDomain"` // socket合法域名 UploadDomain []string `json:"UploadDomain"` // uploadFile合法域名 DownloadDomain []string `json:"DownloadDomain"` // downloadFile合法域名 UDPDomain []string `json:"UDPDomain"` // udp合法域名 TCPDomain []any `json:"TCPDomain"` // tcp合法域名 } `json:"network"` // 小程序配置的合法域名信息 Categories []struct { First string `json:"first"` // 一级类目 Second string `json:"second"` // 二级类目 } `json:"categories"` // 小程序配置的类目信息 VisitStatus int64 `json:"visit_status,omitempty"` } `json:"MiniProgramInfo"` // 小程序配置,根据这个字段判断是否为小程序类型授权 RegisterType int64 `json:"register_type"` // 小程序注册方式 AccountStatus int64 `json:"account_status"` // 帐号状态,该字段小程序也返回 BasicConfig struct { IsPhoneConfigured bool `json:"is_phone_configured"` // 是否已经绑定手机号 IsEmailConfigured bool `json:"is_email_configured"` // 是否已经绑定邮箱,不绑定邮箱帐号的不可登录微信公众平台 } `json:"basic_config"` // 基础配置信息 } `json:"authorizer_info"` // 小程序帐号信息 AuthorizationInfo struct { AuthorizerAppid string `json:"authorizer_appid"` // 授权的公众号或者小程序 appid AuthorizerRefreshToken string `json:"authorizer_refresh_token"` // 刷新令牌(在授权的公众号具备API权限时,才有此返回值),刷新令牌主要用于第三方平台获取和刷新已授权用户的 authorizer_access_token。一旦丢失,只能让用户重新授权,才能再次拿到新的刷新令牌。用户重新授权后,之前的刷新令牌会失效 FuncInfo []struct { FuncscopeCategory struct { Id int64 `json:"id"` // 权限集id Type int64 `json:"type"` // 权限集类型 Name string `json:"name"` // 权限集名称 Desc string `json:"desc"` // 权限集描述 } `json:"funcscope_category"` // 授权给开发者的权限集详情 } `json:"func_info"` // 授权给第三方平台的权限集id列表,权限集id的含义可查看权限集介绍 } `json:"authorization_info"` // 授权信息 }
type CgiBinComponentApiGetAuthorizerInfoResult ¶
type CgiBinComponentApiGetAuthorizerInfoResult struct { Result CgiBinComponentApiGetAuthorizerInfoResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinComponentApiQueryAuthResponse ¶
type CgiBinComponentApiQueryAuthResponse struct { AuthorizationInfo struct { AuthorizerAppid string `json:"authorizer_appid"` // 授权方 appid AuthorizerAccessToken string `json:"authorizer_access_token"` // 接口调用令牌(在授权的公众号/小程序具备 API 权限时,才有此返回值) ExpiresIn int64 `json:"expires_in"` // authorizer_access_token 的有效期(在授权的公众号/小程序具备API权限时,才有此返回值),单位:秒 AuthorizerRefreshToken string `json:"authorizer_refresh_token"` // 刷新令牌(在授权的公众号具备API权限时,才有此返回值),刷新令牌主要用于第三方平台获取和刷新已授权用户的 authorizer_access_token。一旦丢失,只能让用户重新授权,才能再次拿到新的刷新令牌。用户重新授权后,之前的刷新令牌会失效 FuncInfo []struct { FuncscopeCategory struct { Id int `json:"id"` } `json:"funcscope_category"` ConfirmInfo struct { NeedConfirm int `json:"need_confirm"` AlreadyConfirm int `json:"already_confirm"` CanConfirm int `json:"can_confirm"` } `json:"confirm_info,omitempty"` } `json:"func_info"` } `json:"authorization_info"` }
type CgiBinComponentApiQueryAuthResult ¶
type CgiBinComponentApiQueryAuthResult struct { Result CgiBinComponentApiQueryAuthResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinComponentApiStartPushTicketResult ¶
type CgiBinComponentApiStartPushTicketResult struct { Result CgiBinComponentApiStartPushTicketResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinComponentFastRegisterWeAppCreateResult ¶
type CgiBinComponentFastRegisterWeAppCreateResult struct { Result CgiBinComponentFastRegisterWeAppCreateResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*CgiBinComponentFastRegisterWeAppCreateResult) ErrcodeInfo ¶
func (resp *CgiBinComponentFastRegisterWeAppCreateResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
func (*CgiBinComponentFastRegisterWeAppCreateResult) StatusInfo ¶
func (resp *CgiBinComponentFastRegisterWeAppCreateResult) StatusInfo(status int) string
StatusInfo 状态描述
type CgiBinComponentFastRegisterWeAppSearchResult ¶
type CgiBinComponentFastRegisterWeAppSearchResult struct { Result CgiBinComponentFastRegisterWeAppSearchResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*CgiBinComponentFastRegisterWeAppSearchResult) ErrcodeInfo ¶
func (resp *CgiBinComponentFastRegisterWeAppSearchResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
func (*CgiBinComponentFastRegisterWeAppSearchResult) StatusInfo ¶
func (resp *CgiBinComponentFastRegisterWeAppSearchResult) StatusInfo(status int) string
StatusInfo 状态描述
type CgiBinComponentGetPrivacySettingResponse ¶
type CgiBinComponentGetPrivacySettingResponse struct { Errcode int `json:"errcode"` // 返回码 Errmsg string `json:"errmsg"` // 返回码信息 CodeExist int `json:"code_exist"` // 代码是否存在, 0 不存在, 1 存在 。如果最近没有通过commit接口上传代码,则会出现 code_exist=0的情况。 PrivacyList []string `json:"privacy_list"` // 代码检测出来的用户信息类型(privacy_key) SettingList []struct { PrivacyKey string `json:"privacy_key"` // 用户信息类型的英文名称 PrivacyText string `json:"privacy_text"` // 该用户信息类型的用途 PrivacyLabel string `json:"privacy_label"` // 用户信息类型的中文名称 } `json:"setting_list"` // 要收集的用户信息配置 UpdateTime int `json:"update_time"` // 更新时间 OwnerSetting struct { ContactPhone string `json:"contact_phone"` // 信息收集方(开发者)的邮箱 ContactEmail string `json:"contact_email"` // 信息收集方(开发者)的手机号 ContactQq string `json:"contact_qq"` // 信息收集方(开发者)的qq ContactWeixin string `json:"contact_weixin"` // 信息收集方(开发者)的微信号 NoticeMethod string `json:"notice_method"` // 通知方式,指的是当开发者收集信息有变动时,通过该方式通知用户 StoreExpireTimestamp string `json:"store_expire_timestamp"` // 存储期限,指的是开发者收集用户信息存储多久 ExtFileMediaId string `json:"ext_file_media_id"` // 自定义 用户隐私保护指引文件的media_id } `json:"owner_setting"` // 收集方(开发者)信息配置 PrivacyDesc struct { PrivacyDescList []struct { PrivacyKey string `json:"privacy_key"` // 用户信息类型的英文key PrivacyDesc string `json:"privacy_desc"` // 用户信息类型的中文描述 } `json:"privacy_desc_list"` // 用户信息类型 } `json:"privacy_desc"` // 用户信息类型对应的中英文描述 SdkPrivacyInfoList []struct { SdkName string `json:"sdk_name"` // sdk的名称 SdkBizName string `json:"sdk_biz_name"` // sdk提供方的主体名称 SdkList []struct { PrivacyKey string `json:"privacy_key"` // sdk收集的信息描述 PrivacyText string `json:"privacy_text"` // sdk收集的信息用途说明 PrivacyLabel string `json:"privacy_label"` } `json:"sdk_list"` // sdk收集的信息以及用途 } `json:"sdk_privacy_info_list"` // sdk }
type CgiBinComponentGetPrivacySettingResult ¶
type CgiBinComponentGetPrivacySettingResult struct { Result CgiBinComponentGetPrivacySettingResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinComponentSetPrivacySettingResult ¶
type CgiBinComponentSetPrivacySettingResult struct { Result CgiBinComponentSetPrivacySettingResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*CgiBinComponentSetPrivacySettingResult) ErrcodeInfo ¶
func (resp *CgiBinComponentSetPrivacySettingResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type CgiBinGetApiDomainIpResponse ¶ added in v1.0.60
type CgiBinGetApiDomainIpResponse struct {
IpList []string `json:"ip_list,omitempty"`
}
type CgiBinGetApiDomainIpResult ¶ added in v1.0.60
type CgiBinGetApiDomainIpResult struct { Result CgiBinGetApiDomainIpResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func NewCgiBinGetApiDomainIpResult ¶ added in v1.0.60
func NewCgiBinGetApiDomainIpResult(result CgiBinGetApiDomainIpResponse, body []byte, http gorequest.Response) *CgiBinGetApiDomainIpResult
type CgiBinGetCallBackIpResponse ¶
type CgiBinGetCallBackIpResponse struct {
IpList []string `json:"ip_list,omitempty"`
}
type CgiBinGetCallBackIpResult ¶
type CgiBinGetCallBackIpResult struct { Result CgiBinGetCallBackIpResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func NewCgiBinGetCallBackIpResult ¶
func NewCgiBinGetCallBackIpResult(result CgiBinGetCallBackIpResponse, body []byte, http gorequest.Response) *CgiBinGetCallBackIpResult
type CgiBinMaterialGetMaterialResult ¶
type CgiBinMaterialGetMaterialResult struct { Result CgiBinMaterialGetMaterialResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinOpenSameEnTityResult ¶
type CgiBinOpenSameEnTityResult struct { Result CgiBinOpenSameEnTityResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinOpenapiRidGetResponse ¶
type CgiBinOpenapiRidGetResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` Request struct { InvokeTime int `json:"invoke_time"` // 发起请求的时间戳 CostInMs int `json:"cost_in_ms"` // 请求毫秒级耗时 RequestUrl string `json:"request_url"` // 请求的URL参数 RequestBody string `json:"request_body"` // post请求的请求参数 ResponseBody string `json:"response_body"` // 接口请求返回参数 ClientIp string `json:"client_ip"` // 接口请求的客户端ip } `json:"request"` }
type CgiBinOpenapiRidGetResult ¶
type CgiBinOpenapiRidGetResult struct { Result CgiBinOpenapiRidGetResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinShortUrlResponse ¶
type CgiBinShortUrlResult ¶
type CgiBinShortUrlResult struct { Result CgiBinShortUrlResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinWxOpenQrCodeJumpAddResult ¶
type CgiBinWxOpenQrCodeJumpAddResult struct { Result CgiBinWxOpenQrCodeJumpAddResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*CgiBinWxOpenQrCodeJumpAddResult) ErrcodeInfo ¶
func (resp *CgiBinWxOpenQrCodeJumpAddResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type CgiBinWxOpenQrCodeJumpDeleteResult ¶
type CgiBinWxOpenQrCodeJumpDeleteResult struct { Result CgiBinWxOpenQrCodeJumpDeleteResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinWxOpenQrCodeJumpDownloadResult ¶
type CgiBinWxOpenQrCodeJumpDownloadResult struct { Result CgiBinWxOpenQrCodeJumpDownloadResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinWxOpenQrCodeJumpGetResponse ¶
type CgiBinWxOpenQrCodeJumpGetResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` RuleList []struct { Prefix string `json:"prefix"` // 二维码规则 PermitSubRule int `json:"permit_sub_rule"` // 是否独占符合二维码前缀匹配规则的所有子规 1 为不占用,2 为占用 Path string `json:"path"` // 小程序功能页面 OpenVersion int `json:"open_version"` // 测试范围 DebugUrl []string `json:"debug_url"` // 测试链接(选填)可填写不多于 5 个用于测试的二维码完整链接,此链接必须符合已填写的二维码规则。 State int `json:"state"` // 发布标志位,1 表示未发布,2 表示已发布 } `json:"rule_list"` // 二维码规则详情列表 QrcodejumpOpen int `json:"qrcodejump_open"` // 是否已经打开二维码跳转链接设置 ListSize int `json:"list_size"` // 二维码规则数量 QrcodejumpPubQuota int `json:"qrcodejump_pub_quota"` // 本月还可发布的次数 }
type CgiBinWxOpenQrCodeJumpGetResult ¶
type CgiBinWxOpenQrCodeJumpGetResult struct { Result CgiBinWxOpenQrCodeJumpGetResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type CgiBinWxOpenQrCodeJumpPublishResult ¶
type CgiBinWxOpenQrCodeJumpPublishResult struct { Result CgiBinWxOpenQrCodeJumpPublishResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*CgiBinWxOpenQrCodeJumpPublishResult) ErrcodeInfo ¶
func (resp *CgiBinWxOpenQrCodeJumpPublishResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type ClearComponentQuotaByAppSecretResult ¶
type ClearComponentQuotaByAppSecretResult struct { Result ClearComponentQuotaByAppSecretResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type ClearQuotaResponse ¶
type ClearQuotaResult ¶
type ClearQuotaResult struct { Result ClearQuotaResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 实例
func (*Client) BindTester ¶ added in v1.0.56
func (c *Client) BindTester(ctx context.Context, authorizerAccessToken, wechatid string, notMustParams ...*gorequest.Params) (*BindTesterResult, error)
BindTester 绑定体验者 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/member-management/bindTester.html
func (*Client) CgiBinComponentApiAuthorizerToken ¶
func (c *Client) CgiBinComponentApiAuthorizerToken(ctx context.Context, componentAccessToken, authorizerAppid, authorizerRefreshToken string, notMustParams ...*gorequest.Params) (*CgiBinComponentApiAuthorizerTokenResult, error)
CgiBinComponentApiAuthorizerToken 获取/刷新接口调用令牌 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/token/api_authorizer_token.html
func (*Client) CgiBinComponentApiComponentToken ¶
func (c *Client) CgiBinComponentApiComponentToken(ctx context.Context, componentVerifyTicket string, notMustParams ...*gorequest.Params) (*CgiBinComponentApiComponentTokenResult, error)
CgiBinComponentApiComponentToken 令牌 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/token/component_access_token.html
func (*Client) CgiBinComponentApiCreatePreAuthCoden ¶
func (c *Client) CgiBinComponentApiCreatePreAuthCoden(ctx context.Context, componentAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinComponentApiCreatePreAuthCodenResult, error)
CgiBinComponentApiCreatePreAuthCoden 预授权码 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/token/pre_auth_code.html
func (*Client) CgiBinComponentApiGetAuthorizerInfo ¶
func (c *Client) CgiBinComponentApiGetAuthorizerInfo(ctx context.Context, authorizerAppid, componentAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinComponentApiGetAuthorizerInfoResult, error)
CgiBinComponentApiGetAuthorizerInfo 获取授权帐号详情 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/authorization-management/getAuthorizerInfo.html
func (*Client) CgiBinComponentApiQueryAuth ¶
func (c *Client) CgiBinComponentApiQueryAuth(ctx context.Context, componentAccessToken, authorizationCode string, notMustParams ...*gorequest.Params) (*CgiBinComponentApiQueryAuthResult, error)
CgiBinComponentApiQueryAuth 使用授权码获取授权信息 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/token/authorization_info.html
func (*Client) CgiBinComponentApiStartPushTicket ¶
func (c *Client) CgiBinComponentApiStartPushTicket(ctx context.Context, notMustParams ...*gorequest.Params) (*CgiBinComponentApiStartPushTicketResult, error)
CgiBinComponentApiStartPushTicket 启动ticket推送服务 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/token/component_verify_ticket_service.html
func (*Client) CgiBinComponentFastRegisterWeAppCreate ¶
func (c *Client) CgiBinComponentFastRegisterWeAppCreate(ctx context.Context, componentAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinComponentFastRegisterWeAppCreateResult, error)
CgiBinComponentFastRegisterWeAppCreate 快速注册企业小程序 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ent/registerMiniprogram.html
func (*Client) CgiBinComponentFastRegisterWeAppSearch ¶
func (c *Client) CgiBinComponentFastRegisterWeAppSearch(ctx context.Context, componentAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinComponentFastRegisterWeAppSearchResult, error)
CgiBinComponentFastRegisterWeAppSearch 快速注册企业小程序 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ent/registerMiniprogram.html#%E4%BA%8C%E3%80%81%E6%9F%A5%E8%AF%A2%E5%88%9B%E5%BB%BA%E4%BB%BB%E5%8A%A1%E7%8A%B6%E6%80%81
func (*Client) CgiBinComponentGetPrivacySetting ¶
func (c *Client) CgiBinComponentGetPrivacySetting(ctx context.Context, authorizerAccessToken string, privacyVer int, notMustParams ...*gorequest.Params) (*CgiBinComponentGetPrivacySettingResult, error)
CgiBinComponentGetPrivacySetting 查询小程序用户隐私保护指引 @privacyVer 1表示现网版本,即,传1则该接口返回的内容是现网版本的;2表示开发版,即,传2则该接口返回的内容是开发版本的。默认是2。 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/privacy_config/get_privacy_setting.html
func (*Client) CgiBinComponentSetPrivacySetting ¶
func (c *Client) CgiBinComponentSetPrivacySetting(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinComponentSetPrivacySettingResult, error)
CgiBinComponentSetPrivacySetting 配置小程序用户隐私保护指引 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/privacy_config/set_privacy_setting.html
func (*Client) CgiBinGetApiDomainIp ¶
func (c *Client) CgiBinGetApiDomainIp(ctx context.Context, componentAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinGetApiDomainIpResult, error)
CgiBinGetApiDomainIp 获取微信API接口 IP地址 https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_the_WeChat_server_IP_address.html
func (*Client) CgiBinGetCallBackIp ¶
func (c *Client) CgiBinGetCallBackIp(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinGetCallBackIpResult, error)
CgiBinGetCallBackIp 获取微信callback IP地址 https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_the_WeChat_server_IP_address.html
func (*Client) CgiBinMaterialGetMaterial ¶
func (c *Client) CgiBinMaterialGetMaterial(ctx context.Context, authorizerAccessToken, mediaId string, notMustParams ...*gorequest.Params) (*CgiBinMaterialGetMaterialResult, error)
CgiBinMaterialGetMaterial 获取永久素材 https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Getting_Permanent_Assets.html
func (*Client) CgiBinOpenSameEnTity ¶
func (c *Client) CgiBinOpenSameEnTity(ctx context.Context, componentAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinOpenSameEnTityResult, error)
CgiBinOpenSameEnTity 获取授权绑定的商户号列表 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/cloudbase-common/wechatpay/getWechatPayList.html
func (*Client) CgiBinOpenapiQuotaGet ¶
func (c *Client) CgiBinOpenapiQuotaGet(ctx context.Context, componentAccessToken string, cgiPath string, notMustParams ...*gorequest.Params) (*cgiBinOpenapiQuotaGetResult, error)
CgiBinOpenapiQuotaGet 查询API调用额度 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openapi/getApiQuota.html
func (*Client) CgiBinOpenapiRidGet ¶
func (c *Client) CgiBinOpenapiRidGet(ctx context.Context, authorizerAccessToken, rid string, notMustParams ...*gorequest.Params) (*CgiBinOpenapiRidGetResult, error)
CgiBinOpenapiRidGet 查询rid信息 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openapi/getRidInfo.html
func (*Client) CgiBinShortUrl ¶
func (c *Client) CgiBinShortUrl(ctx context.Context, authorizerAccessToken, longUrl string, notMustParams ...*gorequest.Params) (*CgiBinShortUrlResult, error)
CgiBinShortUrl 将二维码长链接转成短链接 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/qrcode/shorturl.html
func (*Client) CgiBinWxOpenQrCodeJumpAdd ¶
func (c *Client) CgiBinWxOpenQrCodeJumpAdd(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinWxOpenQrCodeJumpAddResult, error)
CgiBinWxOpenQrCodeJumpAdd 增加或修改二维码规则 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/qrcode/qrcodejumpadd.html
func (*Client) CgiBinWxOpenQrCodeJumpDelete ¶
func (c *Client) CgiBinWxOpenQrCodeJumpDelete(ctx context.Context, authorizerAccessToken, prefix string, notMustParams ...*gorequest.Params) (*CgiBinWxOpenQrCodeJumpDeleteResult, error)
CgiBinWxOpenQrCodeJumpDelete 删除已设置的二维码规则 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/qrcode/qrcodejumpdelete.html
func (*Client) CgiBinWxOpenQrCodeJumpDownload ¶
func (c *Client) CgiBinWxOpenQrCodeJumpDownload(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinWxOpenQrCodeJumpDownloadResult, error)
CgiBinWxOpenQrCodeJumpDownload 获取校验文件名称及内容 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/jumpqrcode-config/downloadQRCodeText.html
func (*Client) CgiBinWxOpenQrCodeJumpGet ¶
func (c *Client) CgiBinWxOpenQrCodeJumpGet(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*CgiBinWxOpenQrCodeJumpGetResult, error)
CgiBinWxOpenQrCodeJumpGet 获取已设置的二维码规则 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/qrcode/qrcodejumpadd.html
func (*Client) CgiBinWxOpenQrCodeJumpPublish ¶
func (c *Client) CgiBinWxOpenQrCodeJumpPublish(ctx context.Context, authorizerAccessToken, prefix string, notMustParams ...*gorequest.Params) (*CgiBinWxOpenQrCodeJumpPublishResult, error)
CgiBinWxOpenQrCodeJumpPublish 发布已设置的二维码规则 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/qrcode/qrcodejumppublish.html
func (*Client) ClearComponentQuotaByAppSecret ¶
func (c *Client) ClearComponentQuotaByAppSecret(ctx context.Context, authorizerAccessToken, appid string, notMustParams ...*gorequest.Params) (*ClearComponentQuotaByAppSecretResult, error)
ClearComponentQuotaByAppSecret 使用AppSecret重置第三方平台 API 调用次数 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openapi/clearComponentQuotaByAppSecret.html
func (*Client) ClearQuota ¶
func (c *Client) ClearQuota(ctx context.Context, authorizerAccessToken, appid string, notMustParams ...*gorequest.Params) (*ClearQuotaResult, error)
ClearQuota 重置API调用次数 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/openapi/clearQuota.html
func (*Client) Commit ¶ added in v1.0.56
func (c *Client) Commit(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*CommitResult, error)
Commit 上传代码并生成体验版 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/commit.html
func (*Client) CreateQRCode ¶ added in v1.0.55
func (c *Client) CreateQRCode(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*CreateQRCodeResult, error)
CreateQRCode 获取小程序二维码 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/qr-code/createQRCode.html
func (*Client) DataCubeGetWeAnAlySisAppidDailyRetainInfo ¶
func (c *Client) DataCubeGetWeAnAlySisAppidDailyRetainInfo(ctx context.Context, authorizerAccessToken, beginDate, endDate string, notMustParams ...*gorequest.Params) (*DataCubeGetWeAnAlySisAppidDailyRetainInfoResult, error)
DataCubeGetWeAnAlySisAppidDailyRetainInfo 获取用户访问小程序日留存 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/data-analysis/visit-retain/getDailyRetain.html
func (*Client) DataCubeGetWeAnAlySisAppidDailySummaryTrend ¶
func (c *Client) DataCubeGetWeAnAlySisAppidDailySummaryTrend(ctx context.Context, authorizerAccessToken, beginDate, endDate string, notMustParams ...*gorequest.Params) (*DataCubeGetWeAnAlySisAppidDailySummaryTrendResult, error)
DataCubeGetWeAnAlySisAppidDailySummaryTrend 获取用户访问小程序数据概况 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/data-analysis/others/getDailySummary.html
func (*Client) DataCubeGetWeAnAlySisAppidDailyVisitTrend ¶
func (c *Client) DataCubeGetWeAnAlySisAppidDailyVisitTrend(ctx context.Context, authorizerAccessToken, beginDate, endDate string, notMustParams ...*gorequest.Params) (*DataCubeGetWeAnAlySisAppidDailyVisitTrendResult, error)
DataCubeGetWeAnAlySisAppidDailyVisitTrend 获取用户访问小程序数据日趋势 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/data-analysis/visit-trend/getDailyVisitTrend.html
func (*Client) DataCubeGetWeAnAlySisAppidMonthlyRetainInfo ¶
func (c *Client) DataCubeGetWeAnAlySisAppidMonthlyRetainInfo(ctx context.Context, authorizerAccessToken, beginDate, endDate string, notMustParams ...*gorequest.Params) (*DataCubeGetWeAnAlySisAppidMonthlyRetainInfoResult, error)
DataCubeGetWeAnAlySisAppidMonthlyRetainInfo 获取用户访问小程序月留存 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/data-analysis/visit-retain/getMonthlyRetain.html
func (*Client) DataCubeGetWeAnAlySisAppidMonthlyVisitTrend ¶
func (c *Client) DataCubeGetWeAnAlySisAppidMonthlyVisitTrend(ctx context.Context, authorizerAccessToken, beginDate, endDate string, notMustParams ...*gorequest.Params) (*DataCubeGetWeAnAlySisAppidMonthlyVisitTrendResult, error)
DataCubeGetWeAnAlySisAppidMonthlyVisitTrend 获取用户访问小程序数据月趋势 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/data-analysis/visit-trend/getMonthlyVisitTrend.html
func (*Client) DataCubeGetWeAnAlySisAppidUserPortrait ¶
func (c *Client) DataCubeGetWeAnAlySisAppidUserPortrait(ctx context.Context, authorizerAccessToken, beginDate, endDate string, notMustParams ...*gorequest.Params) (*DataCubeGetWeAnAlySisAppidUserPortraitResult, error)
DataCubeGetWeAnAlySisAppidUserPortrait 获取小程序用户画像分布 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/data-analysis/others/getUserPortrait.html
func (*Client) DataCubeGetWeAnAlySisAppidVisitPage ¶
func (c *Client) DataCubeGetWeAnAlySisAppidVisitPage(ctx context.Context, authorizerAccessToken, beginDate, endDate string, notMustParams ...*gorequest.Params) (*DataCubeGetWeAnAlySisAppidVisitPageResult, error)
DataCubeGetWeAnAlySisAppidVisitPage 获取访问页面数据 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/data-analysis/others/getVisitPage.html
func (*Client) DataCubeGetWeAnAlySisAppidWeeklyRetainInfo ¶
func (c *Client) DataCubeGetWeAnAlySisAppidWeeklyRetainInfo(ctx context.Context, authorizerAccessToken, beginDate, endDate string, notMustParams ...*gorequest.Params) (*DataCubeGetWeAnAlySisAppidWeeklyRetainInfoResult, error)
DataCubeGetWeAnAlySisAppidWeeklyRetainInfo 获取用户访问小程序周留存 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/data-analysis/visit-retain/getWeeklyRetain.html
func (*Client) DataCubeGetWeAnAlySisAppidWeeklyVisitTrend ¶
func (c *Client) DataCubeGetWeAnAlySisAppidWeeklyVisitTrend(ctx context.Context, authorizerAccessToken, beginDate, endDate string, notMustParams ...*gorequest.Params) (*DataCubeGetWeAnAlySisAppidWeeklyVisitTrendResult, error)
DataCubeGetWeAnAlySisAppidWeeklyVisitTrend 获取用户访问小程序数据周趋势 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/data-analysis/visit-trend/getWeeklyVisitTrend.html
func (*Client) DataCubeGetWeAnAlysIsAppidVisitDistribution ¶
func (c *Client) DataCubeGetWeAnAlysIsAppidVisitDistribution(ctx context.Context, authorizerAccessToken, beginDate, endDate string, notMustParams ...*gorequest.Params) (*DataCubeGetWeAnAlysIsAppidVisitDistributionResult, error)
DataCubeGetWeAnAlysIsAppidVisitDistribution 获取用户小程序访问分布数据 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/data-analysis/others/getVisitDistribution.html
func (*Client) GenerateNFCScheme ¶ added in v1.0.55
func (c *Client) GenerateNFCScheme(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GenerateNFCSchemeResult, error)
GenerateNFCScheme 获取 NFC 的小程序 scheme https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-scheme/generateNFCScheme.html
func (*Client) GenerateScheme ¶ added in v1.0.55
func (c *Client) GenerateScheme(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GenerateSchemeResult, error)
GenerateScheme 获取加密scheme码 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-scheme/generateScheme.html
func (*Client) GenerateShortLink ¶ added in v1.0.55
func (c *Client) GenerateShortLink(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GenerateShortLinkResult, error)
GenerateShortLink 获取ShortLink https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/short-link/generateShortLink.html
func (*Client) GenerateUrlLink ¶ added in v1.0.55
func (c *Client) GenerateUrlLink(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GenerateUrlLinkResult, error)
GenerateUrlLink 获取加密URLLink https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-link/generateUrlLink.html
func (*Client) GetAccountBasicInfo ¶ added in v1.0.56
func (c *Client) GetAccountBasicInfo(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GetAccountBasicInfoResult, error)
GetAccountBasicInfo 获取基本信息 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/basic-info-management/getAccountBasicInfo.html
func (*Client) GetAuditStatus ¶ added in v1.0.56
func (c *Client) GetAuditStatus(ctx context.Context, authorizerAccessToken string, auditid int64, notMustParams ...*gorequest.Params) (*GetAuditStatusResult, error)
GetAuditStatus 查询审核单状态 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/getAuditStatus.html
func (*Client) GetAuthorizerAccessToken ¶
func (*Client) GetAuthorizerAppid ¶
func (*Client) GetAuthorizerList ¶
func (c *Client) GetAuthorizerList(ctx context.Context, authorizerAppid, componentAccessToken string, notMustParams ...*gorequest.Params) (*GetAuthorizerListResult, error)
GetAuthorizerList 拉取已授权的账号信息 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/authorization-management/getAuthorizerList.html
func (*Client) GetAuthorizerRefreshToken ¶
func (*Client) GetComponentAccessToken ¶
func (*Client) GetComponentAppId ¶
func (*Client) GetComponentAppSecret ¶
func (*Client) GetComponentPreAuthCode ¶
func (*Client) GetComponentVerifyTicket ¶
func (*Client) GetJumpDomainConfirmFile ¶
func (c *Client) GetJumpDomainConfirmFile(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GetJumpDomainConfirmFileResult, error)
GetJumpDomainConfirmFile 获取业务域名校验文件 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/domain-management/getJumpDomainConfirmFile.html
func (*Client) GetLatestAuditStatus ¶ added in v1.0.56
func (c *Client) GetLatestAuditStatus(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GetLatestAuditStatusResult, error)
GetLatestAuditStatus 查询最新一次审核单状态 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/getLatestAuditStatus.html
func (*Client) GetMessageKey ¶
func (*Client) GetMessageToken ¶
func (*Client) GetOnlineIcpOrder ¶
func (c *Client) GetOnlineIcpOrder(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GetOnlineIcpOrderResult, error)
GetOnlineIcpOrder 获取小程序已备案详情 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/record/getOnlineIcpOrder.html
func (*Client) GetQRCode ¶ added in v1.0.55
func (c *Client) GetQRCode(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GetQRCodeResult, error)
GetQRCode 获取小程序码 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/qr-code/getQRCode.html
func (*Client) GetSettingCategories ¶ added in v1.0.56
func (c *Client) GetSettingCategories(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GetSettingCategoriesResult, error)
GetSettingCategories 获取已设置的所有类目 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/category-management/getSettingCategories.html
func (*Client) GetTester ¶ added in v1.0.56
func (c *Client) GetTester(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GetTesterResult, error)
GetTester 获取体验者列表 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/member-management/getTester.html
func (*Client) GetThirdpartyJumpDomainConfirmFile ¶
func (c *Client) GetThirdpartyJumpDomainConfirmFile(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GetThirdpartyJumpDomainConfirmFileResult, error)
GetThirdpartyJumpDomainConfirmFile 获取第三方平台业务域名校验文件 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/thirdparty-management/domain-mgnt/getThirdpartyJumpDomainConfirmFile.html
func (*Client) GetTrialQRCode ¶ added in v1.0.56
func (c *Client) GetTrialQRCode(ctx context.Context, authorizerAccessToken, path string, notMustParams ...*gorequest.Params) (*GetTrialQRCodeResult, error)
GetTrialQRCode 获取体验版二维码 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/getTrialQRCode.html
func (*Client) GetUnlimitedQRCode ¶ added in v1.0.55
func (c *Client) GetUnlimitedQRCode(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GetUnlimitedQRCodeResult, error)
GetUnlimitedQRCode 获取不限制的小程序码 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/qr-code/getUnlimitedQRCode.html
func (*Client) GetVersionInfo ¶ added in v1.0.56
func (c *Client) GetVersionInfo(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*GetVersionInfoResult, error)
GetVersionInfo 查询小程序版本信息 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/getVersionInfo.html
func (*Client) ModifyJumpDomainDirectly ¶
func (c *Client) ModifyJumpDomainDirectly(ctx context.Context, authorizerAccessToken string, action string, webviewdomain []string, notMustParams ...*gorequest.Params) (*ModifyJumpDomainDirectlyResult, error)
ModifyJumpDomainDirectly 快速配置小程序业务域名 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/domain-management/modifyJumpDomainDirectly.html
func (*Client) ModifyThirdpartyJumpDomain ¶
func (c *Client) ModifyThirdpartyJumpDomain(ctx context.Context, componentAccessToken string, action string, notMustParams ...*gorequest.Params) (*ModifyThirdpartyJumpDomainResult, error)
ModifyThirdpartyJumpDomain 设置第三方平台业务域名 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/thirdparty-management/domain-mgnt/modifyThirdpartyJumpDomain.html
func (*Client) ModifyThirdpartyServerDomain ¶
func (c *Client) ModifyThirdpartyServerDomain(ctx context.Context, componentAccessToken string, action string, notMustParams ...*gorequest.Params) (*ModifyThirdpartyServerDomainResult, error)
ModifyThirdpartyServerDomain 设置第三方平台服务器域名 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/thirdparty-management/domain-mgnt/modifyThirdpartyServerDomain.html
func (*Client) QueryScheme ¶ added in v1.0.55
func (c *Client) QueryScheme(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*QuerySchemeResult, error)
QueryScheme 查询scheme码 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-scheme/queryScheme.html
func (*Client) QueryUrlLink ¶ added in v1.0.55
func (c *Client) QueryUrlLink(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*QueryUrlLinkResult, error)
QueryUrlLink 查询加密URLLink https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/qrcode-link/url-link/queryUrlLink.html
func (*Client) Release ¶ added in v1.0.56
func (c *Client) Release(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*ReleaseResult, error)
Release 发布已通过审核的小程序 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/release.html
func (*Client) RevertCodeRelease ¶ added in v1.0.56
func (c *Client) RevertCodeRelease(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*RevertCodeReleaseResult, error)
RevertCodeRelease 小程序版本回退 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/revertCodeRelease.html
func (*Client) ServeHttpAuthorizerAppid ¶
func (c *Client) ServeHttpAuthorizerAppid(ctx context.Context, w http.ResponseWriter, r *http.Request, componentAccessToken string) (resp CgiBinComponentApiQueryAuthResponse, agentUserId string, err error)
ServeHttpAuthorizerAppid 授权跳转
func (*Client) ServeHttpHttp ¶
func (c *Client) ServeHttpHttp(ctx context.Context, w http.ResponseWriter, r *http.Request) (ResponseServeHttpHttp, error)
ServeHttpHttp 验证票据推送
func (*Client) ServeHttpVerifyTicket ¶
func (c *Client) ServeHttpVerifyTicket(ctx context.Context, w http.ResponseWriter, r *http.Request) (resp *ResponseServeHttpVerifyTicket, err error)
ServeHttpVerifyTicket 验证票据推送
func (*Client) SetAuthorizerAccessToken ¶
func (*Client) SetAuthorizerAppid ¶
func (*Client) SetAuthorizerRefreshToken ¶
func (*Client) SetCodeAuditQuota ¶ added in v1.0.56
func (c *Client) SetCodeAuditQuota(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*SetCodeAuditQuotaResult, error)
SetCodeAuditQuota 查询服务商审核额度 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/setCodeAuditQuota.html
func (*Client) SetComponentAccessToken ¶
func (*Client) SetComponentAppId ¶
func (*Client) SetComponentAppSecret ¶
func (*Client) SetComponentPreAuthCode ¶
func (*Client) SetComponentVerifyTicket ¶
func (*Client) SetMessageKey ¶
func (*Client) SetMessageToken ¶
func (*Client) SignDecrypt ¶
func (c *Client) SignDecrypt(ctx context.Context, params SignDecryptParams, strXml interface{}) (resp []byte, err error)
SignDecrypt 解密 ctx 上下文 params 入参 strXml 反射结构体 resp 加密数据 err 错误信息
func (*Client) SubmitAudit ¶ added in v1.0.56
func (c *Client) SubmitAudit(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*SubmitAuditResult, error)
SubmitAudit 提交代码审核 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/submitAudit.html
func (*Client) TckWxPayList ¶
func (c *Client) TckWxPayList(ctx context.Context, componentAccessToken string, notMustParams ...*gorequest.Params) (*TckWxPayListResult, error)
TckWxPayList 获取授权绑定的商户号列表 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/cloudbase-common/wechatpay/getWechatPayList.html
func (*Client) ThirdpartyCode2Session ¶ added in v1.0.56
func (c *Client) ThirdpartyCode2Session(ctx context.Context, componentAccessToken, authorizerAppid, jsCode string, notMustParams ...*gorequest.Params) (*ThirdpartyCode2SessionResult, error)
ThirdpartyCode2Session 小程序登录 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/login/thirdpartyCode2Session.html
func (*Client) UnbindTester ¶ added in v1.0.56
func (c *Client) UnbindTester(ctx context.Context, authorizerAccessToken, wechatid, userstr string, notMustParams ...*gorequest.Params) (*UnbindTesterResult, error)
UnbindTester 解除绑定体验者 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/member-management/unbindTester.html
func (*Client) UndoAudit ¶ added in v1.0.57
func (c *Client) UndoAudit(ctx context.Context, authorizerAccessToken string, auditid int64, notMustParams ...*gorequest.Params) (*UndoAuditResult, error)
UndoAudit 撤回代码审核 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/undoAudit.html
func (*Client) WxaAddToTemplate ¶
func (c *Client) WxaAddToTemplate(ctx context.Context, componentAccessToken, draftId string, templateType int, notMustParams ...*gorequest.Params) (*WxaAddToTemplateResult, error)
WxaAddToTemplate 将草稿添加到代码模板库 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/code_template/addtotemplate.html
func (*Client) WxaApiWxAembeddedGetOwnList ¶
func (c *Client) WxaApiWxAembeddedGetOwnList(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaApiWxAembeddedGetOwnListResult, error)
WxaApiWxAembeddedGetOwnList 获取半屏小程序授权列表 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/embedded-management/getOwnList.html
func (*Client) WxaApiWxAembeddedSetAuthorize ¶
func (c *Client) WxaApiWxAembeddedSetAuthorize(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaApiWxAembeddedSetAuthorizeResult, error)
WxaApiWxAembeddedSetAuthorize 设置授权方式 checkComponentIsConfig && checkAuthorizerConfig https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/embedded-management/setAuthorizedEmbedded.html
func (*Client) WxaApiWxaembeddedAddEmbedded ¶
func (c *Client) WxaApiWxaembeddedAddEmbedded(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaApiWxaembeddedAddEmbeddedResult, error)
WxaApiWxaembeddedAddEmbedded 添加半屏小程序 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/embedded-management/addEmbedded.html
func (*Client) WxaApiWxaembeddedDelAuthorize ¶
func (c *Client) WxaApiWxaembeddedDelAuthorize(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaApiWxaembeddedDelAuthorizeResult, error)
WxaApiWxaembeddedDelAuthorize 取消授权小程序 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/embedded-management/deleteAuthorizedEmbedded.html
func (*Client) WxaApiWxaembeddedDelEmbedded ¶
func (c *Client) WxaApiWxaembeddedDelEmbedded(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaApiWxaembeddedDelEmbeddedResult, error)
WxaApiWxaembeddedDelEmbedded 删除半屏小程序 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/embedded-management/deleteEmbedded.html
func (*Client) WxaApiWxaembeddedGetList ¶
func (c *Client) WxaApiWxaembeddedGetList(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaApiWxaembeddedGetListResult, error)
WxaApiWxaembeddedGetList 获取半屏小程序调用列表 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/embedded-management/getEmbeddedList.html
func (*Client) WxaBusinessGetUserPhoneNumber ¶
func (c *Client) WxaBusinessGetUserPhoneNumber(ctx context.Context, authorizerAccessToken, code string, 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) WxaDeleteTemplate ¶
func (c *Client) WxaDeleteTemplate(ctx context.Context, componentAccessToken, templateId string, notMustParams ...*gorequest.Params) (*WxaDeleteTemplateResult, error)
WxaDeleteTemplate 删除指定代码模板 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/code_template/deletetemplate.html
func (*Client) WxaGetCategory ¶
func (c *Client) WxaGetCategory(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaGetCategoryResult, error)
WxaGetCategory 获取审核时可填写的类目信息 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/category/get_category.html
func (*Client) WxaGetDefaultamsInfoAgencyGetCustomShareRatio ¶
func (c *Client) WxaGetDefaultamsInfoAgencyGetCustomShareRatio(ctx context.Context, authorizerAppid, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaGetDefaultamsInfoAgencyGetCustomShareRatioResult, error)
WxaGetDefaultamsInfoAgencyGetCustomShareRatio 查询自定义分账比例 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/ams/percentage/GetCustomShareRatio.html
func (*Client) WxaGetDefaultamsInfoGetShareRatio ¶
func (c *Client) WxaGetDefaultamsInfoGetShareRatio(ctx context.Context, authorizerAppid, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaGetDefaultamsInfoGetShareRatioResult, error)
WxaGetDefaultamsInfoGetShareRatio 查询分账比例 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/ams/percentage/GetShareRatio.html
func (*Client) WxaGetEffectiveDomain ¶
func (c *Client) WxaGetEffectiveDomain(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaGetEffectiveDomainResult, error)
WxaGetEffectiveDomain 获取发布后生效服务器域名列表 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Mini_Program_Basic_Info/get_effective_domain.html
func (*Client) WxaGetPage ¶
func (c *Client) WxaGetPage(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaGetPageResult, error)
WxaGetPage 获取已上传的代码的页面列表 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/code/get_page.html
func (*Client) WxaGetTemplateDraftList ¶
func (c *Client) WxaGetTemplateDraftList(ctx context.Context, componentAccessToken string, notMustParams ...*gorequest.Params) (*WxaGetTemplateDraftListResult, error)
WxaGetTemplateDraftList 获取代码草稿列表 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/code_template/gettemplatedraftlist.html
func (*Client) WxaGetTemplateList ¶
func (c *Client) WxaGetTemplateList(ctx context.Context, componentAccessToken string, notMustParams ...*gorequest.Params) (*WxaGetTemplateListResult, error)
WxaGetTemplateList 获取代码模板列表 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/code_template/gettemplatelist.html
func (*Client) WxaGetUserRiskRank ¶
func (c *Client) WxaGetUserRiskRank(ctx context.Context, authorizerAppid, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaGetUserRiskRankResult, error)
WxaGetUserRiskRank 获取用户安全等级 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/sec-center/safety-control-capability/getUserRiskRank.html
func (*Client) WxaGetdefaultamsinfoGetAgencyAdsStat ¶
func (c *Client) WxaGetdefaultamsinfoGetAgencyAdsStat(ctx context.Context, authorizerAccessToken string, page, pageSize int64, startDate, endDate, adSlot string, notMustParams ...*gorequest.Params) (*WxaGetdefaultamsinfoGetAgencyAdsStatResult, error)
WxaGetdefaultamsinfoGetAgencyAdsStat 获取服务商广告汇总数据 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/ams/ad-data/GetAgencyAdsStat.html
func (*Client) WxaMediaCheckAsync ¶
func (c *Client) WxaMediaCheckAsync(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaMediaCheckAsyncResult, error)
WxaMediaCheckAsync 音视频内容安全识别 https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/sec-center/sec-check/mediaCheckAsync.html
func (*Client) WxaModifyDomain ¶
func (c *Client) WxaModifyDomain(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaModifyDomainResult, error)
WxaModifyDomain 配置小程序服务器域名 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/domain-management/modifyServerDomain.html
func (*Client) WxaModifyDomainDirectly ¶
func (c *Client) WxaModifyDomainDirectly(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaModifyDomainDirectlyResult, error)
WxaModifyDomainDirectly 快速配置小程序服务器域名 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/domain-management/modifyServerDomainDirectly.html
func (*Client) WxaMsgSecCheck ¶
func (c *Client) WxaMsgSecCheck(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaMsgSecCheckResult, error)
WxaMsgSecCheck 文本内容安全识别 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.getUnlimited.html
func (*Client) WxaOperationamsAgencyCheckCanOpenPublisher ¶
func (c *Client) WxaOperationamsAgencyCheckCanOpenPublisher(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaOperationamsAgencyCheckCanOpenPublisherResult, error)
WxaOperationamsAgencyCheckCanOpenPublisher 检测是否能开通流量主 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/ams/open/AgencyCheckCanOpenPublisher.html
func (*Client) WxaOperationamsAgencyCreateAdunit ¶
func (c *Client) WxaOperationamsAgencyCreateAdunit(ctx context.Context, authorizerAccessToken string, name, Type string, videoDurationMin, videoDurationMax int64, notMustParams ...*gorequest.Params) (*WxaOperationamsAgencyCreateAdunitResult, error)
WxaOperationamsAgencyCreateAdunit 创建广告单元 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/ams/ad-mgnt/AgencyCreateAdunit.html
func (*Client) WxaOperationamsAgencyCreatePublisher ¶
func (c *Client) WxaOperationamsAgencyCreatePublisher(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaOperationamsAgencyCreatePublisherResult, error)
WxaOperationamsAgencyCreatePublisher 开通流量主 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/ams/open/AgencyCreatePublisher.html
func (*Client) WxaOperationamsAgencyGetAdposGenenral ¶
func (c *Client) WxaOperationamsAgencyGetAdposGenenral(ctx context.Context, authorizerAccessToken string, page, pageSize int64, startDate, endDate, adSlot string, notMustParams ...*gorequest.Params) (*WxaOperationamsAgencyGetAdposGenenralResult, error)
WxaOperationamsAgencyGetAdposGenenral 获取小程序广告汇总数据 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/ams/ad-data/GetAdposGenenral.html
func (*Client) WxaSecurityApplyPrivacyInterface ¶
func (c *Client) WxaSecurityApplyPrivacyInterface(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaSecurityApplyPrivacyInterfaceResult, error)
WxaSecurityApplyPrivacyInterface 申请接口 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/apply_api/apply_privacy_interface.html
func (*Client) WxaSecurityApplySetOrderPathInfo ¶
func (c *Client) WxaSecurityApplySetOrderPathInfo(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaSecurityApplySetOrderPathInfoResult, error)
WxaSecurityApplySetOrderPathInfo 申请设置订单页 path 信息 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/basic-info-management/applySetOrderPathInfo.html
func (*Client) WxaSecurityGetOrderPathInfo ¶
func (c *Client) WxaSecurityGetOrderPathInfo(ctx context.Context, authorizerAccessToken string, infoType int, notMustParams ...*gorequest.Params) (*WxaSecurityGetOrderPathInfoResult, error)
WxaSecurityGetOrderPathInfo 获取订单页 path 信息 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/basic-info-management/getOrderPathInfo.html
func (*Client) WxaSecurityGetPrivacyInterface ¶
func (c *Client) WxaSecurityGetPrivacyInterface(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaSecurityGetPrivacyInterfaceResult, error)
WxaSecurityGetPrivacyInterface 获取接口列表 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/apply_api/get_privacy_interface.html
func (*Client) WxaSetDefaultamsInfoAgencySetCustomShareRatio ¶
func (c *Client) WxaSetDefaultamsInfoAgencySetCustomShareRatio(ctx context.Context, authorizerAccessToken string, appid string, shareRatio int64, notMustParams ...*gorequest.Params) (*WxaSetDefaultamsInfoAgencySetCustomShareRatioResult, error)
WxaSetDefaultamsInfoAgencySetCustomShareRatio 设置自定义分账比例 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/ams/percentage/SetCustomShareRatio.html
func (*Client) WxaSetDefaultamsInfoSetShareRatio ¶
func (c *Client) WxaSetDefaultamsInfoSetShareRatio(ctx context.Context, authorizerAccessToken string, shareRatio int64, notMustParams ...*gorequest.Params) (*WxaSetDefaultamsInfoSetShareRatioResult, error)
WxaSetDefaultamsInfoSetShareRatio 设置默认分账比例 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/ams/percentage/SetShareRatio.html
func (*Client) WxaSetWebViewDoMain ¶
func (c *Client) WxaSetWebViewDoMain(ctx context.Context, authorizerAccessToken string, notMustParams ...*gorequest.Params) (*WxaSetWebViewDoMainResult, error)
WxaSetWebViewDoMain 配置小程序业务域名 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/domain-management/modifyJumpDomain.html
type ClientConfig ¶
type ClientConfig struct { ComponentAppId string `json:"component_app_id"` // 第三方平台appid ComponentAppSecret string `json:"component_app_secret"` // 第三方平台app_secret MessageToken string `json:"message_token"` // 第三方平台消息令牌 MessageKey string `json:"message_key"` // 第三方平台消息密钥 }
ClientConfig 实例配置
type CommitResponse ¶ added in v1.0.56
type CommitResult ¶ added in v1.0.56
type CommitResult struct { Result CommitResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*CommitResult) ErrcodeInfo ¶ added in v1.0.56
func (resp *CommitResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type CreateQRCodeResponse ¶ added in v1.0.55
type CreateQRCodeResult ¶ added in v1.0.55
type CreateQRCodeResult struct { Result CreateQRCodeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*CreateQRCodeResult) ErrcodeInfo ¶ added in v1.0.55
func (resp *CreateQRCodeResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type DataCubeGetWeAnAlySisAppidDailyRetainInfoResponse ¶
type DataCubeGetWeAnAlySisAppidDailyRetainInfoResponse struct { RefDate string `json:"ref_date"` // 日期 VisitUvNew []struct { Key int64 `json:"key"` Value int64 `json:"value"` } `json:"visit_uv_new"` // 新增用户留存 VisitUv []struct { Key int64 `json:"key"` Value int64 `json:"value"` } `json:"visit_uv"` // 活跃用户留存 }
type DataCubeGetWeAnAlySisAppidDailyRetainInfoResult ¶
type DataCubeGetWeAnAlySisAppidDailyRetainInfoResult struct { Result DataCubeGetWeAnAlySisAppidDailyRetainInfoResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type DataCubeGetWeAnAlySisAppidDailySummaryTrendResult ¶
type DataCubeGetWeAnAlySisAppidDailySummaryTrendResult struct { Result DataCubeGetWeAnAlySisAppidDailySummaryTrendResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type DataCubeGetWeAnAlySisAppidDailyVisitTrendResponse ¶
type DataCubeGetWeAnAlySisAppidDailyVisitTrendResponse struct { List []struct { RefDate string `json:"ref_date"` // 时间 SessionCnt int64 `json:"session_cnt"` // 打开次数(自然周内汇总) VisitPv int64 `json:"visit_pv"` // 访问次数(自然周内汇总) VisitUv int64 `json:"visit_uv"` // 访问人数(自然周内去重) VisitUvNew int64 `json:"visit_uv_new"` // 新用户数(自然周内去重) StayTimeUv float64 `json:"stay_time_uv"` // 人均停留时长 (浮点型,单位:秒) StayTimeSession float64 `json:"stay_time_session"` // 次均停留时长 (浮点型,单位:秒) VisitDepth float64 `json:"visit_depth"` // 平均访问深度 (浮点型) } `json:"list"` // 数据列表 }
type DataCubeGetWeAnAlySisAppidDailyVisitTrendResult ¶
type DataCubeGetWeAnAlySisAppidDailyVisitTrendResult struct { Result DataCubeGetWeAnAlySisAppidDailyVisitTrendResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type DataCubeGetWeAnAlySisAppidMonthlyRetainInfoResponse ¶
type DataCubeGetWeAnAlySisAppidMonthlyRetainInfoResponse struct { RefDate string `json:"ref_date"` // 日期 VisitUvNew []struct { Key int64 `json:"key"` Value int64 `json:"value"` } `json:"visit_uv_new"` // 新增用户留存 VisitUv []struct { Key int64 `json:"key"` Value int64 `json:"value"` } `json:"visit_uv"` // 活跃用户留存 }
type DataCubeGetWeAnAlySisAppidMonthlyRetainInfoResult ¶
type DataCubeGetWeAnAlySisAppidMonthlyRetainInfoResult struct { Result DataCubeGetWeAnAlySisAppidMonthlyRetainInfoResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type DataCubeGetWeAnAlySisAppidMonthlyVisitTrendResponse ¶
type DataCubeGetWeAnAlySisAppidMonthlyVisitTrendResponse struct { List []struct { RefDate string `json:"ref_date"` // 时间 SessionCnt int64 `json:"session_cnt"` // 打开次数(自然周内汇总) VisitPv int64 `json:"visit_pv"` // 访问次数(自然周内汇总) VisitUv int64 `json:"visit_uv"` // 访问人数(自然周内去重) VisitUvNew int64 `json:"visit_uv_new"` // 新用户数(自然周内去重) StayTimeUv float64 `json:"stay_time_uv"` // 人均停留时长 (浮点型,单位:秒) StayTimeSession float64 `json:"stay_time_session"` // 次均停留时长 (浮点型,单位:秒) VisitDepth float64 `json:"visit_depth"` // 平均访问深度 (浮点型) } `json:"list"` // 数据列表 }
type DataCubeGetWeAnAlySisAppidMonthlyVisitTrendResult ¶
type DataCubeGetWeAnAlySisAppidMonthlyVisitTrendResult struct { Result DataCubeGetWeAnAlySisAppidMonthlyVisitTrendResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type DataCubeGetWeAnAlySisAppidUserPortraitResponse ¶
type DataCubeGetWeAnAlySisAppidUserPortraitResponse struct { RefDate string `json:"ref_date"` // 时间范围 VisitUvNew struct { Province []struct { Id int64 `json:"id"` Name string `json:"name"` Value int64 `json:"value"` } `json:"province"` // 分布类型 City []struct { Id int64 `json:"id"` Name string `json:"name"` Value int64 `json:"value"` } `json:"city"` // 省份 Genders []struct { Id int64 `json:"id"` Name string `json:"name"` Value int64 `json:"value"` } `json:"genders"` // 城市 Platforms []struct { Id int64 `json:"id"` Name string `json:"name"` Value int64 `json:"value"` } `json:"platforms"` // 性别 Devices []struct { Name string `json:"name"` Value int64 `json:"value"` } `json:"devices"` // 终端类型 Ages []struct { Id int64 `json:"id"` Name string `json:"name"` Value int64 `json:"value"` } `json:"ages"` // 年龄 } `json:"visit_uv_new"` // 新用户画像 VisitUv struct { Province []struct { Id int64 `json:"id"` Name string `json:"name"` Value int64 `json:"value"` } `json:"province"` // 分布类型 City []struct { Id int64 `json:"id"` Name string `json:"name"` Value int64 `json:"value"` } `json:"city"` // 省份 Genders []struct { Id int64 `json:"id"` Name string `json:"name"` Value int64 `json:"value"` } `json:"genders"` // 城市 Platforms []struct { Id int64 `json:"id"` Name string `json:"name"` Value int64 `json:"value"` } `json:"platforms"` // 性别 Devices []struct { Name string `json:"name"` Value int64 `json:"value"` } `json:"devices"` // 终端类型 Ages []struct { Id int64 `json:"id"` Name string `json:"name"` Value int64 `json:"value"` } `json:"ages"` // 年龄 } `json:"visit_uv"` // 活跃用户画像 }
type DataCubeGetWeAnAlySisAppidUserPortraitResult ¶
type DataCubeGetWeAnAlySisAppidUserPortraitResult struct { Result DataCubeGetWeAnAlySisAppidUserPortraitResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type DataCubeGetWeAnAlySisAppidVisitPageResponse ¶
type DataCubeGetWeAnAlySisAppidVisitPageResponse struct { RefDate string `json:"ref_date"` // 日期 List []struct { PagePath string `json:"page_path"` // 页面路径 PageVisitPv int64 `json:"page_visit_pv"` // 访问次数 PageVisitUv int64 `json:"page_visit_uv"` // 访问人数 PageStaytimePv float64 `json:"page_staytime_pv"` // 次均停留时长 EntrypagePv int64 `json:"entrypage_pv"` // 进入页次数 ExitpagePv int64 `json:"exitpage_pv"` // 退出页次数 PageSharePv int64 `json:"page_share_pv"` // 转发次数 PageShareUv int64 `json:"page_share_uv"` // 转发人数 } `json:"list"` // 数据列表 }
type DataCubeGetWeAnAlySisAppidVisitPageResult ¶
type DataCubeGetWeAnAlySisAppidVisitPageResult struct { Result DataCubeGetWeAnAlySisAppidVisitPageResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type DataCubeGetWeAnAlySisAppidWeeklyRetainInfoResponse ¶
type DataCubeGetWeAnAlySisAppidWeeklyRetainInfoResponse struct { RefDate string `json:"ref_date"` // 日期 VisitUvNew []struct { Key int64 `json:"key"` Value int64 `json:"value"` } `json:"visit_uv_new"` // 新增用户留存 VisitUv []struct { Key int64 `json:"key"` Value int64 `json:"value"` } `json:"visit_uv"` // 活跃用户留存 }
type DataCubeGetWeAnAlySisAppidWeeklyRetainInfoResult ¶
type DataCubeGetWeAnAlySisAppidWeeklyRetainInfoResult struct { Result DataCubeGetWeAnAlySisAppidWeeklyRetainInfoResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type DataCubeGetWeAnAlySisAppidWeeklyVisitTrendResponse ¶
type DataCubeGetWeAnAlySisAppidWeeklyVisitTrendResponse struct { List []struct { RefDate string `json:"ref_date"` // 时间 SessionCnt int64 `json:"session_cnt"` // 打开次数(自然周内汇总) VisitPv int64 `json:"visit_pv"` // 访问次数(自然周内汇总) VisitUv int64 `json:"visit_uv"` // 访问人数(自然周内去重) VisitUvNew int64 `json:"visit_uv_new"` // 新用户数(自然周内去重) StayTimeUv float64 `json:"stay_time_uv"` // 人均停留时长 (浮点型,单位:秒) StayTimeSession float64 `json:"stay_time_session"` // 次均停留时长 (浮点型,单位:秒) VisitDepth float64 `json:"visit_depth"` // 平均访问深度 (浮点型) } `json:"list"` // 数据列表 }
type DataCubeGetWeAnAlySisAppidWeeklyVisitTrendResult ¶
type DataCubeGetWeAnAlySisAppidWeeklyVisitTrendResult struct { Result DataCubeGetWeAnAlySisAppidWeeklyVisitTrendResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type DataCubeGetWeAnAlysIsAppidVisitDistributionResponse ¶
type DataCubeGetWeAnAlysIsAppidVisitDistributionResponse struct { RefDate string `json:"ref_date"` // 日期 List []struct { Index string `json:"index"` // 分布类型。枚举值为:access_source_session_cnt(访问来源分布)、access_staytime_info(访问时长分布)、access_depth_info(访问深度的分布 ) ItemList []struct { Key int64 `json:"key"` // 场景 id,定义在各个 index 下不同,具体参见下方表格 Value int64 `json:"value"` // 该场景 id 访问 pv } `json:"item_list"` // 分布数据列表 } `json:"list"` // 数据列表 }
type DataCubeGetWeAnAlysIsAppidVisitDistributionResult ¶
type DataCubeGetWeAnAlysIsAppidVisitDistributionResult struct { Result DataCubeGetWeAnAlysIsAppidVisitDistributionResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type GenerateNFCSchemeResponse ¶ added in v1.0.55
type GenerateNFCSchemeResult ¶ added in v1.0.55
type GenerateNFCSchemeResult struct { Result GenerateNFCSchemeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*GenerateNFCSchemeResult) ErrcodeInfo ¶ added in v1.0.55
func (resp *GenerateNFCSchemeResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type GenerateSchemeResponse ¶ added in v1.0.55
type GenerateSchemeResult ¶ added in v1.0.55
type GenerateSchemeResult struct { Result GenerateSchemeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*GenerateSchemeResult) ErrcodeInfo ¶ added in v1.0.55
func (resp *GenerateSchemeResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type GenerateShortLinkResponse ¶ added in v1.0.55
type GenerateShortLinkResult ¶ added in v1.0.55
type GenerateShortLinkResult struct { Result GenerateShortLinkResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*GenerateShortLinkResult) ErrcodeInfo ¶ added in v1.0.55
func (resp *GenerateShortLinkResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type GenerateUrlLinkResponse ¶ added in v1.0.55
type GenerateUrlLinkResult ¶ added in v1.0.55
type GenerateUrlLinkResult struct { Result GenerateUrlLinkResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*GenerateUrlLinkResult) ErrcodeInfo ¶ added in v1.0.55
func (resp *GenerateUrlLinkResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type GetAccountBasicInfoResponse ¶ added in v1.0.56
type GetAccountBasicInfoResponse struct { Errcode int `json:"errcode"` // 返回码 Errmsg string `json:"errmsg"` // 错误信息 Appid string `json:"appid"` // 帐号 appid AccountType int `json:"account_type"` // 帐号类型(1:订阅号,2:服务号,3:小程序) PrincipalType int `json:"principal_type"` // 主体类型 PrincipalName string `json:"principal_name"` // 主体名称 Credential string `json:"credential"` // 主体标识 RealnameStatus int `json:"realname_status"` // 实名验证状态 1=实名验证成功 2=实名验证中 3=实名验证失败 WxVerifyInfo struct { QualificationVerify bool `json:"qualification_verify"` // 是否资质认证,若是,拥有微信认证相关的权限 NamingVerify bool `json:"naming_verify"` // 是否名称认证 AnnualReview bool `json:"annual_review"` // 是否需要年审(qualification_verify == true 时才有该字段) AnnualReviewBeginTime int `json:"annual_review_begin_time"` // 年审开始时间,时间戳(qualification_verify == true 时才有该字段) AnnualReviewEndTime int `json:"annual_review_end_time"` // 年审截止时间,时间戳(qualification_verify == true 时才有该字段) } `json:"wx_verify_info"` // 微信认证信息 SignatureInfo struct { Signature string `json:"signature"` // 功能介绍 ModifyUsedCount int `json:"modify_used_count"` // 功能介绍已使用修改次数(本月) ModifyQuota int `json:"modify_quota"` // 功能介绍修改次数总额度(本月) } `json:"signature_info"` // 功能介绍信息 HeadImageInfo struct { HeadImageUrl string `json:"head_image_url"` // 头像 url ModifyUsedCount int `json:"modify_used_count"` // 头像已使用修改次数(本年) ModifyQuota int `json:"modify_quota"` // 头像修改次数总额度(本年) } `json:"head_image_info"` // 头像信息 NicknameInfo struct { Nickname string `json:"nickname"` // 小程序名称 ModifyUsedCount int `json:"modify_used_count"` // 小程序名称已使用修改次数(本年) ModifyQuota int `json:"modify_quota"` // 小程序名称修改次数总额度(本年) } `json:"nickname_info"` // 名称信息 RegisteredCountry int `json:"registered_country"` // 注册国家 Nickname string `json:"nickname"` // 小程序名称 }
type GetAccountBasicInfoResult ¶ added in v1.0.56
type GetAccountBasicInfoResult struct { Result GetAccountBasicInfoResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type GetAuditStatusResponse ¶ added in v1.0.56
type GetAuditStatusResponse struct { Errcode int `json:"errcode"` // 返回码 Errmsg string `json:"errmsg"` // 错误信息 Auditid int `json:"auditid"` // 最新的审核 ID Status int `json:"status"` // 审核状态 Reason string `json:"reason"` // 当审核被拒绝时,返回的拒绝原因 ScreenShot string `json:"ScreenShot"` // 当审核被拒绝时,会返回审核失败的小程序截图示例。用 | 分隔的 media_id 的列表,可通过获取永久素材接口拉取截图内容 }
type GetAuditStatusResult ¶ added in v1.0.56
type GetAuditStatusResult struct { Result GetAuditStatusResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*GetAuditStatusResult) ErrcodeInfo ¶ added in v1.0.56
func (resp *GetAuditStatusResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type GetAuthorizerListResponse ¶
type GetAuthorizerListResponse struct { TotalCount int `json:"total_count"` // 授权的账号总数 List []struct { AuthorizerAppid string `json:"authorizer_appid"` // 已授权账号的 appid RefreshToken string `json:"refresh_token"` // 刷新令牌authorizer_refresh_token AuthTime int `json:"auth_time"` // 授权的时间 } `json:"list"` // 当前查询的账号基本信息列表 }
type GetAuthorizerListResult ¶
type GetAuthorizerListResult struct { Result GetAuthorizerListResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type GetJumpDomainConfirmFileResult ¶
type GetJumpDomainConfirmFileResult struct { Result GetJumpDomainConfirmFileResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*GetJumpDomainConfirmFileResult) ErrcodeInfo ¶
func (resp *GetJumpDomainConfirmFileResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type GetLatestAuditStatusResponse ¶ added in v1.0.56
type GetLatestAuditStatusResponse struct { Errcode int `json:"errcode"` // 返回码 Errmsg string `json:"errmsg"` // 错误信息 Auditid int `json:"auditid"` // 最新的审核 ID Status int `json:"status"` // 审核状态 Reason string `json:"reason"` // 当审核被拒绝时,返回的拒绝原因 ScreenShot string `json:"ScreenShot"` // 当审核被拒绝时,会返回审核失败的小程序截图示例。用 | 分隔的 media_id 的列表,可通过获取永久素材接口拉取截图内容 UserDesc string `json:"user_desc"` // 审核版本 UserVersion string `json:"user_version"` // 版本描述 SubmitAuditTime int64 `json:"submit_audit_time"` // 时间戳,提交审核的时间 }
type GetLatestAuditStatusResult ¶ added in v1.0.56
type GetLatestAuditStatusResult struct { Result GetLatestAuditStatusResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*GetLatestAuditStatusResult) ErrcodeInfo ¶ added in v1.0.56
func (resp *GetLatestAuditStatusResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type GetOnlineIcpOrderResponse ¶
type GetOnlineIcpOrderResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` IcpSubject struct { BaseInfo struct { Type int `json:"type"` // 主体性质,示例值:5 Name string `json:"name"` // 主办单位名称,示例值:"张三" Province string `json:"province"` // 备案省份,使用省份代码,示例值:"110000"(参考:获取区域信息接口) City string `json:"city"` // 备案城市,使用城市代码,示例值:"110100"(参考:获取区域信息接口) District string `json:"district"` // 备案县区,使用县区代码,示例值:"110105"(参考:获取区域信息接口) Address string `json:"address"` // 通讯地址,必须属于备案省市区,地址开头的省市区不用填入,例如:通信地址为“北京市朝阳区高碑店路181号1栋12345室”时,只需要填写 "高碑店路181号1栋12345室" 即可 Comment string `json:"comment"` // 主体信息备注,根据需要,如实填写 RecordNumber string `json:"record_number"` // 主体备案号,示例值:粤B2-20090059(申请小程序备案时不用填写,查询已备案详情时会返回) } `json:"base_info"` // 主体基本信息 PersonalInfo struct { ResidencePermit string `json:"residence_permit"` // 临时居住证明照片 media_id,个人备案且非本省人员,需要提供居住证、暂住证、社保证明、房产证等临时居住证明,示例值:"4ahCGpd3CYkE6RpkNkUR5czt3LvG8xDnDdKAz6bBKttSfM8p4k5Rj6823HXugPwQBurgMezyib7" } `json:"personal_info"` // 个人主体额外信息 OrganizeInfo struct { CertificateType int `json:"certificate_type"` // 主体证件类型,示例值:2(参考:获取证件类型接口) CertificateNumber string `json:"certificate_number"` // 主体证件号码,示例值:"110105199001011234" CertificateAddress string `json:"certificate_address"` // 主体证件住所,示例值:"北京市朝阳区高碑店路181号1栋12345室" CertificatePhoto string `json:"certificate_photo"` // 主体证件照片 media_id,如果小程序主体为非个人类型,则必填,示例值:"4ahCGpd3CYkE6RpkNkUR5czt3LvG8xDnDdKAz6bBKttSfM8p4k5Rj6823HXugPwQBurgMezyib7" } `json:"organize_info"` // 主体额外信息(个人备案时,如果存在与主体负责人信息相同的字段,则填入相同的值) PrincipalInfo struct { Name string `json:"name"` // 负责人姓名,示例值:"张三" Mobile string `json:"mobile"` // 负责人联系方式,示例值:"13012344321" Email string `json:"email"` // 负责人电子邮件,示例值:"zhangsan@zhangsancorp.com" EmergencyContact string `json:"emergency_contact"` // 负责人应急联系方式,示例值:"17743211234" CertificateType int `json:"certificate_type"` // 负责人证件类型,示例值:2(参考:获取证件类型接口,此处只能填入单位性质属于个人的证件类型) CertificateNumber string `json:"certificate_number"` // 负责人证件号码,示例值:"110105199001011234" CertificateValidityDateStart string `json:"certificate_validity_date_start"` // 负责人证件有效期起始日期,格式为 YYYYmmdd,示例值:"20230815" CertificateValidityDateEnd string `json:"certificate_validity_date_end"` // 负责人证件有效期终止日期,格式为 YYYYmmdd,如证件长期有效,请填写 "长期",示例值:"20330815" CertificatePhotoFront string `json:"certificate_photo_front"` // 负责人证件正面照片 media_id(身份证为人像面),示例值:"4ahCGpd3CYkE6RpkNkUR5czt3LvG8xDnDdKAz6bBKttSfM8p4k5Rj6823HXugPwQBurgMezyib7" CertificatePhotoBack string `json:"certificate_photo_back"` // 负责人证件背面照片 media_id(身份证为国徽面),示例值:"4ahCGpd3CYkE6RpkNkUR5czt3LvG8xDnDdKAz6bBKttSfM8p4k5Rj6823HXugPwQBurgMezyib7" AuthorizationLetter string `json:"authorization_letter"` // 授权书 media_id,当主体负责人不是法人时需要主体负责人授权书,当小程序负责人不是法人时需要小程序负责人授权书,示例值:"4ahCGpd3CYkE6RpkNkUR5czt3LvG8xDnDdKAz6bBKttSfM8p4k5Rj6823HXugPwQBurgMezyib7" VerifyTaskId string `json:"verify_task_id"` // 扫脸认证任务id(扫脸认证接口返回的task_id),仅小程序负责人需要扫脸,主体负责人无需扫脸,示例值:"R5PqRPNb6GmG3i0rqd4pTg" } `json:"principal_info"` // 主体负责人信息 LegalPersonInfo struct { Name string `json:"name"` // 法人姓名,示例值:"张三" CertificateNumber string `json:"certificate_number"` // 法人证件号码,示例值:"110105199001011234" } `json:"legal_person_info"` // 法人信息(非个人备案,且主体负责人不是法人时,必填) } `json:"icp_subject"` // 备案主体信息,不包括图片、视频材料(参考:申请小程序备案接口的 ICPSubject) IcpApplets struct { BaseInfo struct { Appid string `json:"appid"` // 小程序ID,不用填写,后台自动拉取 Name string `json:"name"` // 小程序名称,不用填写,后台自动拉取 ServiceContentTypes []int64 `json:"service_content_types"` // 小程序服务内容类型,只能填写二级服务内容类型,最多5个,示例值:[3, 4](参考:获取小程序服务类型接口) NrlxDetails []struct { Type int `json:"type"` // 前置审批类型,示例值:2(参考:获取前置审批项接口) Cpde string `json:"cpde"` // 前置审批号,如果前置审批类型不是“以上都不涉及”,则必填,示例值:"粤-12345号" Name string `json:"name"` // 前置审批媒体材料 media_id,如果前置审批类型不是“以上都不涉及”,则必填,示例值:"4ahCGpd3CYkE6RpkNkUR5czt3LvG8xDnDdKAz6bBKttSfM8p4k5Rj6823HXugPwQBurgMezyib7" } `json:"nrlx_details"` // 前置审批项,列表中不能存在重复的前置审批类型id,如不涉及前置审批项,也需要填“以上都不涉及” Comment string `json:"comment"` // 请具体描述小程序实际经营内容、主要服务内容,该信息为主管部门审核重要依据,备注内容字数限制20-200字,请认真填写。(特殊备注要求请查看注意事项) RecordNumber string `json:"record_number"` // 小程序备案号,示例值:粤B2-20090059-1626X(申请小程序备案时不用填写,查询已备案详情时会返回) } `json:"base_info"` // 微信小程序基本信息 PrincipalInfo struct { Name string `json:"name"` // 负责人姓名,示例值:"张三" Mobile string `json:"mobile"` // 负责人联系方式,示例值:"13012344321" Email string `json:"email"` // 负责人电子邮件,示例值:"zhangsan@zhangsancorp.com" EmergencyContact string `json:"emergency_contact"` // 负责人应急联系方式,示例值:"17743211234" CertificateType int `json:"certificate_type"` // 负责人证件类型,示例值:2(参考:获取证件类型接口,此处只能填入单位性质属于个人的证件类型) CertificateNumber string `json:"certificate_number"` // 负责人证件号码,示例值:"110105199001011234" CertificateValidityDateStart string `json:"certificate_validity_date_start"` // 负责人证件有效期起始日期,格式为 YYYYmmdd,示例值:"20230815" CertificateValidityDateEnd string `json:"certificate_validity_date_end"` // 负责人证件有效期终止日期,格式为 YYYYmmdd,如证件长期有效,请填写 "长期",示例值:"20330815" CertificatePhotoFront string `json:"certificate_photo_front"` // 负责人证件正面照片 media_id(身份证为人像面),示例值:"4ahCGpd3CYkE6RpkNkUR5czt3LvG8xDnDdKAz6bBKttSfM8p4k5Rj6823HXugPwQBurgMezyib7" CertificatePhotoBack string `json:"certificate_photo_back"` // 负责人证件背面照片 media_id(身份证为国徽面),示例值:"4ahCGpd3CYkE6RpkNkUR5czt3LvG8xDnDdKAz6bBKttSfM8p4k5Rj6823HXugPwQBurgMezyib7" AuthorizationLetter string `json:"authorization_letter"` // 授权书 media_id,当主体负责人不是法人时需要主体负责人授权书,当小程序负责人不是法人时需要小程序负责人授权书,示例值:"4ahCGpd3CYkE6RpkNkUR5czt3LvG8xDnDdKAz6bBKttSfM8p4k5Rj6823HXugPwQBurgMezyib7" VerifyTaskId string `json:"verify_task_id"` // 扫脸认证任务id(扫脸认证接口返回的task_id),仅小程序负责人需要扫脸,主体负责人无需扫脸,示例值:"R5PqRPNb6GmG3i0rqd4pTg" } `json:"principal_info"` // 小程序负责人信息 } `json:"icp_applets"` // 微信小程序信息,不包括图片、视频材料(参考:申请小程序备案接口的 ICPApplets) }
type GetOnlineIcpOrderResult ¶
type GetOnlineIcpOrderResult struct { Result GetOnlineIcpOrderResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*GetOnlineIcpOrderResult) ErrcodeInfo ¶
func (resp *GetOnlineIcpOrderResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type GetQRCodeResponse ¶ added in v1.0.55
type GetQRCodeResult ¶ added in v1.0.55
type GetQRCodeResult struct { Result GetQRCodeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*GetQRCodeResult) ErrcodeInfo ¶ added in v1.0.55
func (resp *GetQRCodeResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type GetSettingCategoriesResponse ¶ added in v1.0.56
type GetSettingCategoriesResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` Categories []struct { First int `json:"first"` // 一级类目 ID FirstName string `json:"first_name"` // 一级类目名称 Second int `json:"second"` // 二级类目 ID SecondName string `json:"second_name"` // 二级类目名称 AuditStatus int `json:"audit_status"` // 审核状态(1 审核中 2 审核不通过 3 审核通过) AuditReason string `json:"audit_reason"` // 审核不通过的原因 } `json:"categories"` // 已设置的类目信息列表 Limit int `json:"limit"` // 一个更改周期内可以添加类目的次数 Quota int `json:"quota"` // 本更改周期内还可以添加类目的次数 CategoryLimit int `json:"category_limit"` // 最多可以设置的类目数量 }
type GetSettingCategoriesResult ¶ added in v1.0.56
type GetSettingCategoriesResult struct { Result GetSettingCategoriesResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type GetTesterResponse ¶ added in v1.0.56
type GetTesterResult ¶ added in v1.0.56
type GetTesterResult struct { Result GetTesterResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type GetThirdpartyJumpDomainConfirmFileResult ¶
type GetThirdpartyJumpDomainConfirmFileResult struct { Result GetThirdpartyJumpDomainConfirmFileResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type GetTrialQRCodeResponse ¶ added in v1.0.56
type GetTrialQRCodeResult ¶ added in v1.0.56
type GetTrialQRCodeResult struct { Result GetTrialQRCodeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type GetUnlimitedQRCodeResponse ¶ added in v1.0.55
type GetUnlimitedQRCodeResult ¶ added in v1.0.55
type GetUnlimitedQRCodeResult struct { Result GetUnlimitedQRCodeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*GetUnlimitedQRCodeResult) ErrcodeInfo ¶ added in v1.0.55
func (resp *GetUnlimitedQRCodeResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type GetVersionInfoResponse ¶ added in v1.0.56
type GetVersionInfoResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` ExpInfo struct { ExpTime int64 `json:"exp_time"` // 提交体验版的时间 ExpVersion string `json:"exp_version"` // 体验版版本信息 ExpDesc string `json:"exp_desc"` // 体验版版本描述 } `json:"exp_info"` // 体验版信息 ReleaseInfo struct { ReleaseTime int64 `json:"release_time"` // 发布线上版的时间 ReleaseVersion string `json:"release_version"` // 线上版版本信息 ReleaseDesc string `json:"release_desc"` // 线上版本描述 } `json:"release_info"` // 线上版信息 }
type GetVersionInfoResult ¶ added in v1.0.56
type GetVersionInfoResult struct { Result GetVersionInfoResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type ModifyJumpDomainDirectlyResult ¶
type ModifyJumpDomainDirectlyResult struct { Result ModifyJumpDomainDirectlyResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*ModifyJumpDomainDirectlyResult) ErrcodeInfo ¶
func (resp *ModifyJumpDomainDirectlyResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type ModifyThirdpartyJumpDomainResponse ¶
type ModifyThirdpartyJumpDomainResponse struct { Errcode int `json:"errcode"` // 返回码 Errmsg string `json:"errmsg"` // 返回码信息 PublishedWxaJumpH5Domain string `json:"published_wxa_jump_h5_domain"` // 目前生效的 “全网发布版”第三方平台“小程序业务域名”。如果修改失败,该字段不会返回。如果没有已发布的第三方平台,该字段也不会返回。 TestingWxaJumpH5Domain string `json:"testing_wxa_jump_h5_domain"` // 目前生效的 “测试版”第三方平台“小程序业务域名”。如果修改失败,该字段不会返回 InvalidWxaJumpH5Domain string `json:"invalid_wxa_jump_h5_domain"` // 未通过验证的域名。如果不存在未通过验证的域名,该字段不会返回。 }
type ModifyThirdpartyJumpDomainResult ¶
type ModifyThirdpartyJumpDomainResult struct { Result ModifyThirdpartyJumpDomainResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type ModifyThirdpartyServerDomainResponse ¶
type ModifyThirdpartyServerDomainResponse struct { Errcode int `json:"errcode"` // 返回码 Errmsg string `json:"errmsg"` // 返回码信息 PublishedWxaServerDomain string `json:"published_wxa_server_domain"` // 目前生效的 “全网发布版”第三方平台“小程序服务器域名”。如果修改失败,该字段不会返回。如果没有已发布的第三方平台,该字段也不会返回。 TestingWxaServerDomain string `json:"testing_wxa_server_domain"` // 目前生效的 “测试版”第三方平台“小程序服务器域名”。如果修改失败,该字段不会返回 InvalidWxaServerDomain string `json:"invalid_wxa_server_domain"` // 未通过验证的域名。如果不存在未通过验证的域名,该字段不会返回。 }
type ModifyThirdpartyServerDomainResult ¶
type ModifyThirdpartyServerDomainResult struct { Result ModifyThirdpartyServerDomainResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type QuerySchemeResponse ¶ added in v1.0.55
type QuerySchemeResponse struct { Errcode int `json:"errcode"` // 错误码 Errmsg string `json:"errmsg"` // 错误信息 SchemeInfo struct { Appid string `json:"appid"` // 小程序 appid Path string `json:"path"` // 小程序页面路径 Query string `json:"query"` // 小程序页面query CreateTime int `json:"create_time"` // 创建时间,为 Unix 时间戳 ExpireTime int `json:"expire_time"` // 到期失效时间,为 Unix 时间戳,0 表示永久生效 EnvVersion string `json:"env_version"` // 要打开的小程序版本。正式版为"release",体验版为"trial",开发版为"develop" } `json:"scheme_info"` // scheme 信息 QuotaInfo struct { RemainVisitQuota string `json:"remain_visit_quota"` // URL Scheme(加密+明文)/加密 URL Link 单天剩余访问次数 } `json:"quota_info"` }
type QuerySchemeResult ¶ added in v1.0.55
type QuerySchemeResult struct { Result QuerySchemeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*QuerySchemeResult) ErrcodeInfo ¶ added in v1.0.55
func (resp *QuerySchemeResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type QueryUrlLinkResponse ¶ added in v1.0.55
type QueryUrlLinkResponse struct { Errcode int `json:"errcode"` // 错误码 Errmsg string `json:"errmsg"` // 错误信息 UrlLinkInfo struct { Appid string `json:"appid"` // 小程序 appid Path string `json:"path"` // 小程序页面路径 Query string `json:"query"` // 小程序页面query CreateTime int `json:"create_time"` // 创建时间,为 Unix 时间戳 ExpireTime int `json:"expire_time"` // 到期失效时间,为 Unix 时间戳,0 表示永久生效 EnvVersion string `json:"env_version"` // 要打开的小程序版本。正式版为"release",体验版为"trial",开发版为"develop" } `json:"url_link_info"` // url_link 配置 QuotaInfo struct { RemainVisitQuota string `json:"remain_visit_quota"` // URL Scheme(加密+明文)/加密 URL Link 单天剩余访问次数 } `json:"quota_info"` }
type QueryUrlLinkResult ¶ added in v1.0.55
type QueryUrlLinkResult struct { Result QueryUrlLinkResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*QueryUrlLinkResult) ErrcodeInfo ¶ added in v1.0.55
func (resp *QueryUrlLinkResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type ReleaseResponse ¶ added in v1.0.56
type ReleaseResult ¶ added in v1.0.56
type ReleaseResult struct { Result ReleaseResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*ReleaseResult) ErrcodeInfo ¶ added in v1.0.56
func (resp *ReleaseResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type ResponseServeHttpHttp ¶
type ResponseServeHttpHttp struct { MsgSignature string `json:"msg_signature"` // 签名串,对应 URL 参数的msg_signature Timestamp string `json:"timestamp"` // 时间戳,对应 URL 参数的timestamp Nonce string `json:"nonce"` // 随机串,对应 URL 参数的nonce Signature string `json:"signature"` EncryptType string `json:"encrypt_type"` // 加密类型 AppId string `json:"app_id"` // 第三方平台 appid Encrypt string `json:"encrypt"` // 加密内容 }
ResponseServeHttpHttp 推送信息
type ResponseServeHttpVerifyTicket ¶
type ResponseServeHttpVerifyTicket struct { XMLName xml.Name AppId string `xml:"appId" json:"appId"` // 第三方平台 appid CreateTime int64 `xml:"CreateTime" json:"CreateTime"` // 时间戳,单位:s InfoType string `xml:"InfoType" json:"InfoType"` // 固定为:"component_verify_ticket" ComponentVerifyTicket string `xml:"ComponentVerifyTicket" json:"ComponentVerifyTicket"` // Ticket 内容 }
ResponseServeHttpVerifyTicket 验证票据推送
type RevertCodeReleaseResponse ¶ added in v1.0.56
type RevertCodeReleaseResponse struct { Errcode int `json:"errcode"` // 错误码 Errmsg string `json:"errmsg"` // 错误信息 VersionList []struct { CommitTime int `json:"commit_time"` // 更新时间,时间戳 UserVersion string `json:"user_version"` // 模板版本号,开发者自定义字段 UserDesc string `json:"user_desc"` // 模板描述,开发者自定义字段 AppVersion int `json:"app_version"` // 小程序版本 } `json:"version_list"` // 模板信息列表 }
type RevertCodeReleaseResult ¶ added in v1.0.56
type RevertCodeReleaseResult struct { Result RevertCodeReleaseResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*RevertCodeReleaseResult) ErrcodeInfo ¶ added in v1.0.56
func (resp *RevertCodeReleaseResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type SaveImgResponse ¶
type SetCodeAuditQuotaResponse ¶ added in v1.0.56
type SetCodeAuditQuotaResult ¶ added in v1.0.56
type SetCodeAuditQuotaResult struct { Result SetCodeAuditQuotaResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*SetCodeAuditQuotaResult) ErrcodeInfo ¶ added in v1.0.56
func (resp *SetCodeAuditQuotaResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type SignDecryptAuthorizeEvent ¶
type SignDecryptAuthorizeEvent struct { XMLName xml.Name AppId string `xml:"appId,omitempty"` // 第三方平台 appid CreateTime int64 `xml:"CreateTime,omitempty"` // 时间戳,单位:s InfoType string `xml:"InfoType,omitempty"` // 通知类型 unauthorized=取消授权 updateauthorized=更新授权 authorized=授权成功 AuthorizerAppid string `xml:"AuthorizerAppid,omitempty"` // 公众号或小程序的 appid AuthorizationCode string `xml:"AuthorizationCode,omitempty"` // 授权码,可用于获取授权信息 AuthorizationCodeExpiredTime string `xml:"AuthorizationCodeExpiredTime,omitempty"` // 授权码过期时间 单位秒 PreAuthCode string `xml:"PreAuthCode,omitempty"` // 预授权码 }
SignDecryptAuthorizeEvent 授权变更通知推送 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/authorize_event.html
type SignDecryptComponentVerifyTicket ¶
type SignDecryptComponentVerifyTicket struct { XMLName xml.Name AppId string `xml:"appId,omitempty"` // 第三方平台 appid CreateTime int64 `xml:"CreateTime,omitempty"` // 时间戳,单位:s InfoType string `xml:"InfoType,omitempty"` // 固定为:"component_verify_ticket" ComponentVerifyTicket string `xml:"ComponentVerifyTicket,omitempty"` // Ticket 内容 }
SignDecryptComponentVerifyTicket 验证票据 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/component_verify_ticket.html
type SignDecryptNotifyThirdFastRegisterBetaApp ¶
type SignDecryptNotifyThirdFastRegisterBetaApp struct { XMLName xml.Name AppId string `xml:"AppId,omitempty"` // 第三方平台 appid CreateTime int64 `xml:"CreateTime,omitempty"` // 时间戳,单位:s InfoType string `xml:"InfoType,omitempty"` // 类型 Appid string `xml:"appid,omitempty"` // 创建小程序appid Status int64 `xml:"status,omitempty"` // 状态 Msg string `xml:"msg,omitempty"` // 信息 Info struct { UniqueId string `xml:"unique_id,omitempty"` Name string `xml:"name,omitempty"` // 小程序名称 } `xml:"info,omitempty"` }
SignDecryptNotifyThirdFastRegisterBetaApp 注册试用小程序 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-regist-beta/registerBetaMiniprogram.html
type SignDecryptNotifyThirdFastVerifyBetaApp ¶
type SignDecryptNotifyThirdFastVerifyBetaApp struct { XMLName xml.Name AppId string `xml:"AppId,omitempty"` // 第三方平台 appid CreateTime int64 `xml:"CreateTime,omitempty"` // 时间戳,单位:s InfoType string `xml:"InfoType,omitempty"` // 类型 Appid string `xml:"appid,omitempty"` // 创建小程序appid Status int64 `xml:"status,omitempty"` // 状态 Msg string `xml:"msg,omitempty"` // 信息 Info struct { Name string `xml:"name,omitempty"` // 企业名称 Code string `xml:"code,omitempty"` // 企业代码 CodeType string `xml:"code_type,omitempty"` LegalPersonaWechat string `xml:"legal_persona_wechat,omitempty"` // 法人微信号 LegalPersonaName string `xml:"legal_persona_name,omitempty"` // 法人姓名 ComponentPhone string `xml:"component_phone,omitempty"` // 第三方联系电话 } `xml:"info,omitempty"` }
SignDecryptNotifyThirdFastVerifyBetaApp 试用小程序快速认证 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-regist-beta/verfifyBetaMiniprogram.html
type SignDecryptNotifyThirdFasteRegister ¶
type SignDecryptNotifyThirdFasteRegister struct { XMLName xml.Name AppId string `xml:"AppId,omitempty"` // 第三方平台 appid CreateTime int64 `xml:"CreateTime,omitempty"` // 时间戳,单位:s InfoType string `xml:"InfoType,omitempty"` // 类型 Appid string `xml:"appid,omitempty"` // 创建小程序appid Status int64 `xml:"status,omitempty"` // 状态 AuthCode string `xml:"auth_code,omitempty"` // 第三方授权码 Msg string `xml:"msg,omitempty"` // 信息 Info struct { Name string `xml:"name,omitempty"` // 企业名称 Code string `xml:"code,omitempty"` // 企业代码 CodeType string `xml:"code_type,omitempty"` LegalPersonaWechat string `xml:"legal_persona_wechat,omitempty"` // (企业)法人微信号 LegalPersonaName string `xml:"legal_persona_name,omitempty"` // (企业)法人姓名 ComponentPhone string `xml:"component_phone,omitempty"` // (企业/个人)第三方联系电话 Wxuser string `xml:"wxuser"` // (个人)用户微信号 Idname string `xml:"idname"` // (个人)用户姓名 } `xml:"info,omitempty"` }
SignDecryptNotifyThirdFasteRegister 快速注册企业/个人小程序 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Register_Mini_Programs/Fast_Registration_Interface_document.html https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/register-management/fast-registration-ind/fastRegisterPersonalMp.html
type SignDecryptParams ¶
type SignDecryptParams struct { Signature string // 签名串,对应 URL 参数的msg_signature Timestamp string // 时间戳,对应 URL 参数的timestamp Nonce string // 随机串,对应 URL 参数的nonce EncryptType string // 加密类型 MsgSignature string AppId string // 第三方平台 appid Encrypt string // 加密内容 }
SignDecryptParams 入参
type SignDecryptWeAppAudit ¶
type SignDecryptWeAppAudit struct { XMLName xml.Name ToUserName string `xml:"ToUserName,omitempty"` // 小程序的原始 ID FromUserName string `xml:"FromUserName,omitempty"` // 发送方帐号(一个 OpenID,此时发送方是系统帐号) CreateTime int64 `xml:"CreateTime,omitempty"` // 消息创建时间 (整型),时间戳 MsgType string `xml:"MsgType,omitempty"` // 消息类型 event Event string `xml:"Event,omitempty"` // 事件类型 weapp_audit_success=审核通过 weapp_audit_fail=审核不通过 weapp_audit_delay=审核延后 SuccTime int64 `xml:"SuccTime,omitempty"` // 审核成功时的时间戳 FailTime int64 `xml:"FailTime,omitempty"` // 审核不通过的时间戳 DelayTime int64 `xml:"DelayTime,omitempty"` // 审核延后时的时间戳 Reason string `xml:"reason,omitempty"` // 审核不通过的原因 ScreenShot string `xml:"ScreenShot,omitempty"` // 审核不通过的截图示例。用 | 分隔的 media_id 的列表,可通过获取永久素材接口拉取截图内容 }
SignDecryptWeAppAudit 代码审核结果推送 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/code-management/submitAudit.html
type SignDecryptWxaNicknameAudit ¶
type SignDecryptWxaNicknameAudit struct { XMLName xml.Name ToUserName string `xml:"ToUserName,omitempty"` // 小程序的原始 ID FromUserName string `xml:"FromUserName,omitempty"` // 发送方帐号(一个 OpenID,此时发送方是系统帐号) CreateTime int64 `xml:"CreateTime,omitempty"` // 消息创建时间 (整型),时间戳 MsgType string `xml:"MsgType,omitempty"` // 消息类型 event Event string `xml:"Event,omitempty"` // 事件类型 Ret string `xml:"ret,omitempty"` // 审核结果 2:失败,3:成功 Nickname string `xml:"nickname,omitempty"` // 需要更改的昵称 Reason string `xml:"reason,omitempty"` // 审核失败的驳回原因 }
SignDecryptWxaNicknameAudit 名称审核结果事件推送 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/basic-info-management/setNickName.html
type SignDecryptWxaSecurityApplySetOrderPathInfo ¶
type SignDecryptWxaSecurityApplySetOrderPathInfo struct { XMLName xml.Name List string `xml:"List,omitempty"` // 申请结果列表 Appid string `xml:"Appid,omitempty"` // 申请的appid AuditId string `xml:"AuditId,omitempty"` // 审核单id Status string `xml:"Status,omitempty"` // 订单页 path 状态 ApplyTime int64 `xml:"ApplyTime,omitempty"` // 申请时间 AuditTime int64 `xml:"AuditTime,omitempty"` // 审核时间 Reason string `xml:"Reason,omitempty"` // 审核原因 }
SignDecryptWxaSecurityApplySetOrderPathInfo 申请设置订单页 path 信息 https://developers.weixin.qq.com/doc/oplatform/openApi/OpenApiDoc/miniprogram-management/basic-info-management/applySetOrderPathInfo.html
type SubmitAuditResponse ¶ added in v1.0.56
type SubmitAuditResult ¶ added in v1.0.56
type SubmitAuditResult struct { Result SubmitAuditResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type TckWxPayListResponse ¶
type TckWxPayListResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` List []struct { MerchantCode string `json:"merchant_code"` MerchantName string `json:"merchant_name"` CompanyName string `json:"company_name"` MchRelationState string `json:"mch_relation_state"` JsapiAuthState string `json:"jsapi_auth_state"` RefundAuthState string `json:"refund_auth_state"` } `json:"list"` }
type TckWxPayListResult ¶
type TckWxPayListResult struct { Result TckWxPayListResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*TckWxPayListResult) ErrcodeInfo ¶
func (resp *TckWxPayListResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type ThirdpartyCode2SessionResponse ¶ added in v1.0.56
type ThirdpartyCode2SessionResult ¶ added in v1.0.56
type ThirdpartyCode2SessionResult struct { Result ThirdpartyCode2SessionResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*ThirdpartyCode2SessionResult) UserInfo ¶ added in v1.0.56
func (r *ThirdpartyCode2SessionResult) UserInfo(param UserInfo) *UserInfoResult
UserInfo 解密用户信息
type UnbindTesterResponse ¶ added in v1.0.56
type UnbindTesterResult ¶ added in v1.0.56
type UnbindTesterResult struct { Result UnbindTesterResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type UndoAuditResponse ¶ added in v1.0.57
type UndoAuditResult ¶ added in v1.0.57
type UndoAuditResult struct { Result UndoAuditResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*UndoAuditResult) ErrcodeInfo ¶ added in v1.0.57
func (resp *UndoAuditResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
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 // 错误 }
func DecryptionUserInfo ¶
func DecryptionUserInfo(param UserInfo) *UserInfoResult
DecryptionUserInfo 解密用户信息
type WxaAddToTemplateResult ¶
type WxaAddToTemplateResult struct { Result WxaAddToTemplateResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaAddToTemplateResult) ErrcodeInfo ¶
func (resp *WxaAddToTemplateResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaApiWxAembeddedGetOwnListResponse ¶
type WxaApiWxAembeddedGetOwnListResponse struct { Errcode int `json:"errcode"` // 错误码 Errmsg string `json:"errmsg"` // 错误信息 EmbeddedFlag int `json:"embedded_flag"` // 授权方式。0表示需要管理员确认,1表示自动通过,2表示自动拒绝 WxaEmbeddedList []struct { Appid string `json:"appid"` // 半屏小程序appid Create_time int64 `json:"create_time"` // 添加时间 Headimg string `json:"headimg"` // 头像url Nickname string `json:"nickname"` // 半屏小程序昵称 Reason string `json:"reason"` // 申请理由 Status string `json:"status"` // 申请状态 } `json:"wxa_embedded_list"` // 半屏小程序列表 }
type WxaApiWxAembeddedGetOwnListResult ¶
type WxaApiWxAembeddedGetOwnListResult struct { Result WxaApiWxAembeddedGetOwnListResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaApiWxAembeddedGetOwnListResult) ErrcodeInfo ¶
func (resp *WxaApiWxAembeddedGetOwnListResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaApiWxAembeddedSetAuthorizeResult ¶
type WxaApiWxAembeddedSetAuthorizeResult struct { Result WxaApiWxAembeddedSetAuthorizeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaApiWxAembeddedSetAuthorizeResult) ErrcodeInfo ¶
func (resp *WxaApiWxAembeddedSetAuthorizeResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaApiWxaembeddedAddEmbeddedResult ¶
type WxaApiWxaembeddedAddEmbeddedResult struct { Result WxaApiWxaembeddedAddEmbeddedResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaApiWxaembeddedAddEmbeddedResult) ErrcodeInfo ¶
func (resp *WxaApiWxaembeddedAddEmbeddedResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaApiWxaembeddedDelAuthorizeResult ¶
type WxaApiWxaembeddedDelAuthorizeResult struct { Result WxaApiWxaembeddedDelAuthorizeResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaApiWxaembeddedDelAuthorizeResult) ErrcodeInfo ¶
func (resp *WxaApiWxaembeddedDelAuthorizeResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaApiWxaembeddedDelEmbeddedResult ¶
type WxaApiWxaembeddedDelEmbeddedResult struct { Result WxaApiWxaembeddedDelEmbeddedResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaApiWxaembeddedDelEmbeddedResult) ErrcodeInfo ¶
func (resp *WxaApiWxaembeddedDelEmbeddedResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaApiWxaembeddedGetListResponse ¶
type WxaApiWxaembeddedGetListResponse struct { Errcode int `json:"errcode"` // 错误码 Errmsg string `json:"errmsg"` // 错误信息 EmbeddedFlag int `json:"embedded_flag"` // 授权方式。0表示需要管理员确认,1表示自动通过,2表示自动拒绝 WxaEmbeddedList []struct { Appid string `json:"appid"` // 半屏小程序appid Create_time int64 `json:"create_time"` // 添加时间 Headimg string `json:"headimg"` // 头像url Nickname string `json:"nickname"` // 半屏小程序昵称 Reason string `json:"reason"` // 申请理由 Status string `json:"status"` // 申请状态 } `json:"wxa_embedded_list"` // 半屏小程序列表 }
type WxaApiWxaembeddedGetListResult ¶
type WxaApiWxaembeddedGetListResult struct { Result WxaApiWxaembeddedGetListResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaApiWxaembeddedGetListResult) ErrcodeInfo ¶
func (resp *WxaApiWxaembeddedGetListResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaBusinessGetUserPhoneNumberResponse ¶
type WxaBusinessGetUserPhoneNumberResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` PhoneInfo struct { PhoneNumber string `json:"phoneNumber"` // 用户绑定的手机号(国外手机号会有区号) PurePhoneNumber string `json:"purePhoneNumber"` // 没有区号的手机号 CountryCode string `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 // 请求 }
func (*WxaBusinessGetUserPhoneNumberResult) ErrcodeInfo ¶
func (resp *WxaBusinessGetUserPhoneNumberResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaDeleteTemplateResult ¶
type WxaDeleteTemplateResult struct { Result WxaDeleteTemplateResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaDeleteTemplateResult) ErrcodeInfo ¶
func (resp *WxaDeleteTemplateResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaGetCategoryResponse ¶
type WxaGetCategoryResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` CategoryList []struct { FirstClass string `json:"first_class"` // 一级类目名称 SecondClass string `json:"second_class"` // 二级类目名称 ThirdClass string `json:"third_class"` // 三级类目名称 FirstId int `json:"first_id"` // 一级类目的 ID 编号 SecondId int `json:"second_id"` // 二级类目的 ID 编号 ThirdId int `json:"third_id"` // 三级类目的 ID 编号 } `json:"category_list"` }
type WxaGetCategoryResult ¶
type WxaGetCategoryResult struct { Result WxaGetCategoryResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaGetDefaultamsInfoAgencyGetCustomShareRatioResponse ¶
type WxaGetDefaultamsInfoAgencyGetCustomShareRatioResponse struct {}
type WxaGetDefaultamsInfoAgencyGetCustomShareRatioResult ¶
type WxaGetDefaultamsInfoAgencyGetCustomShareRatioResult struct {}
func (*WxaGetDefaultamsInfoAgencyGetCustomShareRatioResult) ErrcodeInfo ¶
func (resp *WxaGetDefaultamsInfoAgencyGetCustomShareRatioResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaGetDefaultamsInfoGetShareRatioResponse ¶
type WxaGetDefaultamsInfoGetShareRatioResponse struct {}
type WxaGetDefaultamsInfoGetShareRatioResult ¶
type WxaGetDefaultamsInfoGetShareRatioResult struct {}
func (*WxaGetDefaultamsInfoGetShareRatioResult) ErrcodeInfo ¶
func (resp *WxaGetDefaultamsInfoGetShareRatioResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaGetEffectiveDomainResponse ¶
type WxaGetEffectiveDomainResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` MpDomain struct { Requestdomain []interface{} `json:"requestdomain"` Wsrequestdomain []interface{} `json:"wsrequestdomain"` Uploaddomain []interface{} `json:"uploaddomain"` Downloaddomain []interface{} `json:"downloaddomain"` Udpdomain []interface{} `json:"udpdomain"` Tcpdomain []interface{} `json:"tcpdomain"` } `json:"mp_domain"` ThirdDomain struct { Requestdomain []interface{} `json:"requestdomain"` Wsrequestdomain []interface{} `json:"wsrequestdomain"` Uploaddomain []interface{} `json:"uploaddomain"` Downloaddomain []interface{} `json:"downloaddomain"` Udpdomain []interface{} `json:"udpdomain"` Tcpdomain []interface{} `json:"tcpdomain"` } `json:"third_domain"` DirectDomain struct { Requestdomain []interface{} `json:"requestdomain"` Wsrequestdomain []interface{} `json:"wsrequestdomain"` Uploaddomain []interface{} `json:"uploaddomain"` Downloaddomain []interface{} `json:"downloaddomain"` Udpdomain []interface{} `json:"udpdomain"` Tcpdomain []interface{} `json:"tcpdomain"` } `json:"direct_domain"` }
type WxaGetEffectiveDomainResult ¶
type WxaGetEffectiveDomainResult struct { Result WxaGetEffectiveDomainResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaGetPageResponse ¶
type WxaGetPageResult ¶
type WxaGetPageResult struct { Result WxaGetPageResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaGetTemplateDraftListResponse ¶
type WxaGetTemplateDraftListResponse struct { Errcode int `json:"errcode"` // 返回码 Errmsg string `json:"errmsg"` // 错误信息 DraftList []struct { CreateTime int64 `json:"create_time"` // 开发者上传草稿时间戳 UserVersion string `json:"user_version"` // 版本号,开发者自定义字段 UserDesc string `json:"user_desc"` // 版本描述 开发者自定义字段 DraftId int64 `json:"draft_id"` // 草稿 id SourceMiniprogramAppid string `json:"source_miniprogram_appid"` SourceMiniprogram string `json:"source_miniprogram"` Developer string `json:"developer"` CategoryList []interface{} `json:"category_list"` } `json:"draft_list"` // 草稿信息列表 }
type WxaGetTemplateDraftListResult ¶
type WxaGetTemplateDraftListResult struct { Result WxaGetTemplateDraftListResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaGetTemplateDraftListResult) ErrcodeInfo ¶
func (resp *WxaGetTemplateDraftListResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaGetTemplateListResponse ¶
type WxaGetTemplateListResponse struct { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"` TemplateList []struct { CreateTime int `json:"create_time"` // 被添加为模板的时间 UserVersion string `json:"user_version"` // 模板版本号,开发者自定义字段 UserDesc string `json:"user_desc"` // 模板描述,开发者自定义字段 TemplateId int64 `json:"template_id"` // 模板 id TemplateType int `json:"template_type"` // 0对应普通模板,1对应标准模板 SourceMiniprogramAppid string `json:"source_miniprogram_appid"` // 开发小程序的appid SourceMiniprogram string `json:"source_miniprogram"` // 开发小程序的名称 Developer string `json:"developer"` // 开发者 CategoryList []interface{} `json:"category_list"` } `json:"template_list"` // 模板信息列表 }
type WxaGetTemplateListResult ¶
type WxaGetTemplateListResult struct { Result WxaGetTemplateListResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaGetTemplateListResult) ErrcodeInfo ¶
func (resp *WxaGetTemplateListResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaGetUserRiskRankResult ¶
type WxaGetUserRiskRankResult struct { Result WxaGetUserRiskRankResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaGetdefaultamsinfoGetAgencyAdsStatResponse ¶
type WxaGetdefaultamsinfoGetAgencyAdsStatResponse struct { Ret int `json:"ret"` ErrMsg string `json:"err_msg,omitempty"` List []struct { SlotId int64 `json:"slot_id"` AdSlot string `json:"ad_slot"` Date string `json:"date"` ReqSuccCount float64 `json:"req_succ_count"` ExposureCount float64 `json:"exposure_count"` ExposureRate float64 `json:"exposure_rate"` ClickCount float64 `json:"click_count"` ClickRate float64 `json:"click_rate"` Income float64 `json:"income"` Ecpm float64 `json:"ecpm"` AgencyIncome float64 `json:"agency_income"` PublisherIncome float64 `json:"publisher_income"` PublisherAppid string `json:"publisher_appid"` } `json:"list"` Summary struct { ReqSuccCount float64 `json:"req_succ_count"` ExposureCount float64 `json:"exposure_count"` ExposureRate float64 `json:"exposure_rate"` ClickCount float64 `json:"click_count"` ClickRate float64 `json:"click_rate"` Income float64 `json:"income"` Ecpm float64 `json:"ecpm"` ExposureUv float64 `json:"exposure_uv"` OpenUv float64 `json:"open_uv"` PublisherIncome float64 `json:"publisher_income"` AgencyIncome float64 `json:"agency_income"` } `json:"summary"` TotalNum int `json:"total_num"` }
type WxaGetdefaultamsinfoGetAgencyAdsStatResult ¶
type WxaGetdefaultamsinfoGetAgencyAdsStatResult struct { Result WxaGetdefaultamsinfoGetAgencyAdsStatResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaMediaCheckAsyncResponse ¶
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 ¶
type WxaMediaCheckAsyncResult struct { Result WxaMediaCheckAsyncResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaModifyDomainDirectlyResponse ¶
type WxaModifyDomainDirectlyResponse struct { Errcode int `json:"errcode"` // 错误码 Errmsg string `json:"errmsg"` // 错误信息 Requestdomain []string `json:"requestdomain"` // request 合法域名 Wsrequestdomain []string `json:"wsrequestdomain"` // socket 合法域名 Uploaddomain []string `json:"uploaddomain"` // uploadFile 合法域名 Downloaddomain []string `json:"downloaddomain"` // downloadFile 合法域名 Udpdomain []string `json:"udpdomain"` // udp 合法域名 Tcpdomain []string `json:"tcpdomain"` // tcp 合法域名 InvalidRequestdomain []string `json:"invalid_requestdomain"` // request 不合法域名 InvalidWsrequestdomain []string `json:"invalid_wsrequestdomain"` // socket 不合法域名 InvalidUploaddomain []string `json:"invalid_uploaddomain"` // uploadFile 不合法域名 InvalidDownloaddomain []string `json:"invalid_downloaddomain"` // downloadFile 不合法域名 InvalidUdpdomain []string `json:"invalid_udpdomain"` // udp 不合法域名 InvalidTcpdomain []string `json:"invalid_tcpdomain"` // tcp 不合法域名 NoIcpDomain []string `json:"no_icp_domain"` // 没有经过icp备案的域名 }
type WxaModifyDomainDirectlyResult ¶
type WxaModifyDomainDirectlyResult struct { Result WxaModifyDomainDirectlyResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaModifyDomainDirectlyResult) ErrcodeInfo ¶
func (resp *WxaModifyDomainDirectlyResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaModifyDomainResponse ¶
type WxaModifyDomainResponse struct { Errcode int `json:"errcode"` // 错误码 Errmsg string `json:"errmsg"` // 错误信息 Requestdomain []string `json:"requestdomain"` // request 合法域名 Wsrequestdomain []string `json:"wsrequestdomain"` // socket 合法域名 Uploaddomain []string `json:"uploaddomain"` // uploadFile 合法域名 Downloaddomain []string `json:"downloaddomain"` // downloadFile 合法域名 Udpdomain []string `json:"udpdomain"` // udp 合法域名 Tcpdomain []string `json:"tcpdomain"` // tcp 合法域名 InvalidRequestdomain []string `json:"invalid_requestdomain"` // request 不合法域名 InvalidWsrequestdomain []string `json:"invalid_wsrequestdomain"` // socket 不合法域名 InvalidUploaddomain []string `json:"invalid_uploaddomain"` // uploadFile 不合法域名 InvalidDownloaddomain []string `json:"invalid_downloaddomain"` // downloadFile 不合法域名 InvalidUdpdomain []string `json:"invalid_udpdomain"` // udp 不合法域名 InvalidTcpdomain []string `json:"invalid_tcpdomain"` // tcp 不合法域名 NoIcpDomain []string `json:"no_icp_domain"` // 没有经过icp备案的域名 }
type WxaModifyDomainResult ¶
type WxaModifyDomainResult struct { Result WxaModifyDomainResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaModifyDomainResult) ErrcodeInfo ¶
func (resp *WxaModifyDomainResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaMsgSecCheckResponse ¶
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 ¶
type WxaMsgSecCheckResult struct { Result WxaMsgSecCheckResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaOperationamsAgencyCheckCanOpenPublisherResult ¶
type WxaOperationamsAgencyCheckCanOpenPublisherResult struct { Result WxaOperationamsAgencyCheckCanOpenPublisherResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaOperationamsAgencyCheckCanOpenPublisherResult) ErrcodeInfo ¶
func (resp *WxaOperationamsAgencyCheckCanOpenPublisherResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaOperationamsAgencyCreateAdunitResult ¶
type WxaOperationamsAgencyCreateAdunitResult struct { Result WxaOperationamsAgencyCreateAdunitResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaOperationamsAgencyCreatePublisherResult ¶
type WxaOperationamsAgencyCreatePublisherResult struct { Result WxaOperationamsAgencyCreatePublisherResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaOperationamsAgencyCreatePublisherResult) ErrcodeInfo ¶
func (resp *WxaOperationamsAgencyCreatePublisherResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaOperationamsAgencyGetAdposGenenralResponse ¶
type WxaOperationamsAgencyGetAdposGenenralResponse struct { Ret int `json:"ret"` ErrMsg string `json:"err_msg,omitempty"` List []struct { SlotId int64 `json:"slot_id"` AdSlot string `json:"ad_slot"` Date string `json:"date"` ReqSuccCount float64 `json:"req_succ_count"` ExposureCount float64 `json:"exposure_count"` ExposureRate float64 `json:"exposure_rate"` ClickCount float64 `json:"click_count"` ClickRate float64 `json:"click_rate"` PublisherIncome float64 `json:"publisher_income"` Ecpm float64 `json:"ecpm"` } `json:"list"` Summary struct { ReqSuccCount float64 `json:"req_succ_count"` ExposureCount float64 `json:"exposure_count"` ExposureRate float64 `json:"exposure_rate"` ClickCount float64 `json:"click_count"` ClickRate float64 `json:"click_rate"` PublisherIncome float64 `json:"publisher_income"` Ecpm float64 `json:"ecpm"` } `json:"summary"` TotalNum int `json:"total_num"` }
type WxaOperationamsAgencyGetAdposGenenralResult ¶
type WxaOperationamsAgencyGetAdposGenenralResult struct { Result WxaOperationamsAgencyGetAdposGenenralResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
type WxaSecurityApplyPrivacyInterfaceResult ¶
type WxaSecurityApplyPrivacyInterfaceResult struct { Result WxaSecurityApplyPrivacyInterfaceResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaSecurityApplyPrivacyInterfaceResult) ErrcodeInfo ¶
func (resp *WxaSecurityApplyPrivacyInterfaceResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaSecurityApplySetOrderPathInfoResult ¶
type WxaSecurityApplySetOrderPathInfoResult struct { Result WxaSecurityApplySetOrderPathInfoResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaSecurityApplySetOrderPathInfoResult) ErrcodeInfo ¶
func (resp *WxaSecurityApplySetOrderPathInfoResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaSecurityGetOrderPathInfoResult ¶
type WxaSecurityGetOrderPathInfoResult struct { Result WxaSecurityGetOrderPathInfoResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaSecurityGetOrderPathInfoResult) ErrcodeInfo ¶
func (resp *WxaSecurityGetOrderPathInfoResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaSecurityGetPrivacyInterfaceResponse ¶
type WxaSecurityGetPrivacyInterfaceResponse struct { Errcode int `json:"errcode"` // 返回码 Errmsg string `json:"errmsg"` // 返回码信息 InterfaceList []struct { ApiName string `json:"api_name"` // api 英文名 ApiChName string `json:"api_ch_name"` // api 中文名 ApiDesc string `json:"api_desc"` // api描述 ApplyTime int64 `json:"apply_time,omitempty"` // 申请时间 ,该字段发起申请后才会有 Status int `json:"status,omitempty"` // 接口状态,该字段发起申请后才会有 1待申请开通 2无权限 3申请中 4申请失败 5已开通 AuditId int `json:"audit_id,omitempty"` // 申请单号,该字段发起申请后才会有 FailReason string `json:"fail_reason,omitempty"` // 申请被驳回原因或者无权限,该字段申请驳回时才会有 ApiLink string `json:"api_link"` // api文档链接 GroupName string `json:"group_name"` // 分组名 } `json:"interface_list"` // 隐私接口 }
type WxaSecurityGetPrivacyInterfaceResult ¶
type WxaSecurityGetPrivacyInterfaceResult struct { Result WxaSecurityGetPrivacyInterfaceResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaSecurityGetPrivacyInterfaceResult) ErrcodeInfo ¶
func (resp *WxaSecurityGetPrivacyInterfaceResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaSetDefaultamsInfoAgencySetCustomShareRatioResponse ¶
type WxaSetDefaultamsInfoAgencySetCustomShareRatioResponse struct {}
type WxaSetDefaultamsInfoAgencySetCustomShareRatioResult ¶
type WxaSetDefaultamsInfoAgencySetCustomShareRatioResult struct {}
func (*WxaSetDefaultamsInfoAgencySetCustomShareRatioResult) ErrcodeInfo ¶
func (resp *WxaSetDefaultamsInfoAgencySetCustomShareRatioResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaSetDefaultamsInfoSetShareRatioResponse ¶
type WxaSetDefaultamsInfoSetShareRatioResponse struct {}
type WxaSetDefaultamsInfoSetShareRatioResult ¶
type WxaSetDefaultamsInfoSetShareRatioResult struct {}
func (*WxaSetDefaultamsInfoSetShareRatioResult) ErrcodeInfo ¶
func (resp *WxaSetDefaultamsInfoSetShareRatioResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
type WxaSetWebViewDoMainResult ¶
type WxaSetWebViewDoMainResult struct { Result WxaSetWebViewDoMainResponse // 结果 Body []byte // 内容 Http gorequest.Response // 请求 }
func (*WxaSetWebViewDoMainResult) ErrcodeInfo ¶
func (resp *WxaSetWebViewDoMainResult) ErrcodeInfo() string
ErrcodeInfo 错误描述
Source Files ¶
- aes_crypto.go
- authorizer_access_token.go
- cgi-bin.account.getaccountbasicinfo.go
- cgi-bin.clear_quota.go
- cgi-bin.component.api_authorizer_token.go
- cgi-bin.component.api_component_token.go
- cgi-bin.component.api_create_preauthcode.go
- cgi-bin.component.api_get_authorizer_info.go
- cgi-bin.component.api_get_authorizer_list.go
- cgi-bin.component.api_query_auth.go
- cgi-bin.component.api_start_push_ticket.go
- cgi-bin.component.clear_quota.v2.go
- cgi-bin.component.fastregisterweapp.create.go
- cgi-bin.component.fastregisterweapp.search.go
- cgi-bin.component.get_domain_confirmfile.go
- cgi-bin.component.getprivacysetting.go
- cgi-bin.component.modify_wxa_jump_domain.go
- cgi-bin.component.modify_wxa_server_domain.go
- cgi-bin.component.setprivacysetting.go
- cgi-bin.get_api_domain_ip.go
- cgi-bin.getcallbackip.go
- cgi-bin.material.get_material.go
- cgi-bin.open.sameentity.go
- cgi-bin.openapi.quota.get.go
- cgi-bin.openapi.rid.get.go
- cgi-bin.shorturl.go
- cgi-bin.wxaapp.createwxaqrcode.go
- cgi-bin.wxopen.getcategory.go
- cgi-bin.wxopen.qrcodejumpadd.go
- cgi-bin.wxopen.qrcodejumpdelete.go
- cgi-bin.wxopen.qrcodejumpdownloa.go
- cgi-bin.wxopen.qrcodejumpget.go
- cgi-bin.wxopen.qrcodejumppublish.go
- client.config.go
- client.const.go
- client.go
- client.request.go
- component_access_token.go
- component_pre_auth_code.go
- component_verify_ticket.go
- datacube.getweanalysisappiddailyretaininfo.go
- datacube.getweanalysisappiddailysummarytrend.go
- datacube.getweanalysisappiddailyvisittrend.go
- datacube.getweanalysisappidmonthlyretaininfo.go
- datacube.getweanalysisappidmonthlyvisittrend.go
- datacube.getweanalysisappiduserportrait.go
- datacube.getweanalysisappidvisitdistribution.go
- datacube.getweanalysisappidvisitpage.go
- datacube.getweanalysisappidweeklyretaininfo.go
- datacube.getweanalysisappidweeklyvisittrend.go
- save_img.go
- service_http.authorizer_appid.go
- service_http.http.go
- service_http.verify_ticket.go
- sign.decrypt.go
- sign.decrypt.params.go
- sign.decrypt.response.go
- sign.go
- sns.component.jscode2session.go
- tcb.wxpaylist.go
- version.go
- wxa.addtotemplate.go
- wxa.bind_tester.go
- wxa.business.getuserphonenumber.go
- wxa.commit.go
- wxa.deletetemplate.go
- wxa.generate_urllink.go
- wxa.generatenfcscheme.go
- wxa.generatescheme.go
- wxa.genwxashortlink.go
- wxa.get_auditstatus.go
- wxa.get_category.go
- wxa.get_effective_domain.go
- wxa.get_latest_auditstatus.go
- wxa.get_page.go
- wxa.get_qrcode.go
- wxa.get_webviewdomain_confirmfile.go
- wxa.getdefaultamsinfo.agency_get_custom_share_ratio.go
- wxa.getdefaultamsinfo.get_agency_ads_stat.go
- wxa.getdefaultamsinfo.get_share_ratio.go
- wxa.gettemplatedraftlist.go
- wxa.gettemplatelist.go
- wxa.getuserriskrank.go
- wxa.getversioninfo.go
- wxa.getwxacode.go
- wxa.getwxacodeunlimit.go
- wxa.icp.get_online_icp_order.go
- wxa.media_check_async.go
- wxa.memberauth.go
- wxa.modify_domain.go
- wxa.modify_domain_directly.go
- wxa.msg_sec_check.go
- wxa.operationams.agency_check_can_open_publisher.go
- wxa.operationams.agency_create_adunit.go
- wxa.operationams.agency_create_publisher.go
- wxa.operationams.agency_get_adpos_genenral.go
- wxa.query_urllink.go
- wxa.queryquota.go
- wxa.queryscheme.go
- wxa.release.go
- wxa.revertcoderelease.go
- wxa.security.apply_privacy_interface.go
- wxa.security.applysetorderpathinfo.go
- wxa.security.get_privacy_interface.go
- wxa.security.getorderpathinfo.go
- wxa.set_prefetchdnsdomain.go
- wxa.setdefaultamsinfo.agency_set_custom_share_ratio.go
- wxa.setdefaultamsinfo.set_share_ratio.go
- wxa.setwebviewdomain.go
- wxa.setwebviewdomain_directly.go
- wxa.submit_audit.go
- wxa.unbind_tester.go
- wxa.undocodeaudit.go
- wxaapi.wxaembedded.add_embedded.go
- wxaapi.wxaembedded.del_authorize.go
- wxaapi.wxaembedded.del_embedded.go
- wxaapi.wxaembedded.get_list.go
- wxaapi.wxaembedded.get_own_list.go
- wxaapi.wxaembedded.set_authorize.go
- xml.go