Documentation ¶
Index ¶
- Variables
- func PKCS7UnPadding(plantText []byte) []byte
- type Acode
- type Ad
- type Auth
- type CheckMedia
- type Cloudbase
- func (a *Cloudbase) AddDelayedFunctionTask(body []byte) (interface{}, error)
- func (a *Cloudbase) CreatePressureTest(body []byte) (interface{}, error)
- func (a *Cloudbase) CreateSendSmsTask(body []byte) (interface{}, error)
- func (a *Cloudbase) DescribeExtensionUploadInfo(body []byte) (interface{}, error)
- func (a *Cloudbase) DescribeSmsRecords(body []byte) (interface{}, error)
- func (a *Cloudbase) GetOpenData(body []byte) (interface{}, error)
- func (a *Cloudbase) GetPressureTestReport(body []byte) (interface{}, error)
- func (a *Cloudbase) GetPressureTestStatus(body []byte) (interface{}, error)
- func (a *Cloudbase) GetStatistics(body []byte) (interface{}, error)
- func (a *Cloudbase) GetVoIPSign(body []byte) (interface{}, error)
- func (a *Cloudbase) Init(app utils.App) *Cloudbase
- func (a *Cloudbase) Report(body []byte) (interface{}, error)
- func (a *Cloudbase) SendSms(body []byte) (interface{}, error)
- func (a *Cloudbase) SendSmsV2(body []byte) (interface{}, error)
- type CustomerServiceMessage
- func (a *CustomerServiceMessage) GetTempMedia(mediaId string) (interface{}, error)
- func (a *CustomerServiceMessage) Init(app utils.App) *CustomerServiceMessage
- func (a *CustomerServiceMessage) Send(body []byte) (interface{}, error)
- func (a *CustomerServiceMessage) SetTyping(openid, command string) (Response, error)
- func (a *CustomerServiceMessage) UploadTempMedia(uri string) (string, error)
- type DataAnalysis
- func (a *DataAnalysis) GetDailySummary(body []byte) (interface{}, error)
- func (a *DataAnalysis) GetPerformanceData(body []byte) (interface{}, error)
- func (a *DataAnalysis) GetUserPortrait(body []byte) (interface{}, error)
- func (a *DataAnalysis) GetVisitDistribution(body []byte) (interface{}, error)
- func (a *DataAnalysis) GetVisitPage(body []byte) (interface{}, error)
- func (a *DataAnalysis) Init(app utils.App) *DataAnalysis
- type DecodedData
- type Img
- func (a *Img) AiCrop(img_url string) (interface{}, error)
- func (a *Img) AiCropBuffer(file io.Reader, fileName string) (interface{}, error)
- func (a *Img) Init(app utils.App) *Img
- func (a *Img) ScanQRCode(img_url string) (interface{}, error)
- func (a *Img) ScanQRCodeBuffer(file io.Reader, fileName string) (interface{}, error)
- func (a *Img) Superresolution(img_url string) (interface{}, error)
- func (a *Img) SuperresolutionBuffer(file io.Reader, fileName string) (interface{}, error)
- type Livebroadcast
- type NearbyPoi
- func (a *NearbyPoi) Add(body []byte) (interface{}, error)
- func (a *NearbyPoi) Delete(body []byte) (interface{}, error)
- func (a *NearbyPoi) GetList(page, page_rows string) (interface{}, error)
- func (a *NearbyPoi) Init(app utils.App) *NearbyPoi
- func (a *NearbyPoi) SetShowStatus(body []byte) (interface{}, error)
- type Ocr
- func (a *Ocr) Bankcard(imgUrl string) (interface{}, error)
- func (a *Ocr) BankcardBuffer(file io.Reader, fileName string, imgUrl string) (interface{}, error)
- func (a *Ocr) BusinessLicense(imgUrl string) (interface{}, error)
- func (a *Ocr) BusinessLicenseBuffer(file io.Reader, fileName string, imgUrl string) (interface{}, error)
- func (a *Ocr) DriverLicense(imgUrl string) (interface{}, error)
- func (a *Ocr) DriverLicenseBuffer(file io.Reader, fileName string, imgUrl string) (interface{}, error)
- func (a *Ocr) Idcard(imgUrl string) (interface{}, error)
- func (a *Ocr) IdcardBuffer(file io.Reader, fileName string, imgUrl string) (interface{}, error)
- func (a *Ocr) Init(app utils.App) *Ocr
- func (a *Ocr) PrintedText(imgUrl string) (interface{}, error)
- func (a *Ocr) PrintedTextBuffer(file io.Reader, fileName string, imgUrl string) (interface{}, error)
- func (a *Ocr) VehicleLicense(imgUrl string) (interface{}, error)
- func (a *Ocr) VehicleLicenseBuffer(file io.Reader, fileName string, imgUrl string) (interface{}, error)
- type Operation
- func (a *Operation) GetDomainInfo(action string) (interface{}, error)
- func (a *Operation) GetFeedback(types, page, num string) (interface{}, error)
- func (a *Operation) GetFeedbackmedia(recordId, mediaId string) (interface{}, error)
- func (a *Operation) GetJsErrDetail(body []byte) (interface{}, error)
- func (a *Operation) GetJsErrList(body []byte) (interface{}, error)
- func (a *Operation) GetJsErrSearch(body []byte) (interface{}, error)
- func (a *Operation) GetPerformance(body []byte) (interface{}, error)
- func (a *Operation) GetSceneList() (interface{}, error)
- func (a *Operation) GetVersionList() (interface{}, error)
- func (a *Operation) Init(app utils.App) *Operation
- func (a *Operation) RealtimelogSearch(body []byte) (interface{}, error)
- type PhoneNumber
- type PluginManagement
- func (a *PluginManagement) ApplyPlugin(body []byte) (interface{}, error)
- func (a *PluginManagement) GetPluginDevApplyList(body []byte) (interface{}, error)
- func (a *PluginManagement) GetPluginList(body []byte) (interface{}, error)
- func (a *PluginManagement) Init(app utils.App) *PluginManagement
- func (a *PluginManagement) SetDevPluginApplyStatus(body []byte) (interface{}, error)
- func (a *PluginManagement) UnbindPlugin(body []byte) (interface{}, error)
- type Response
- type SafetyControlCapability
- type Search
- type SecCheck
- type SendImage
- type SendLink
- type SendMini
- type SendText
- type ServiceMarket
- type Session
- type Soter
- type Subscribe
- type SubscribeAdd
- type SubscribeMessage
- func (a *SubscribeMessage) AddTemplate(body []byte) (interface{}, error)
- func (a *SubscribeMessage) DeleteTemplate(body []byte) (interface{}, error)
- func (a *SubscribeMessage) GetCategory() (interface{}, error)
- func (a *SubscribeMessage) GetPubTemplateKeyWordsById(tid string) (interface{}, error)
- func (a *SubscribeMessage) GetPubTemplateTitleList(ids string, start, limit int) (interface{}, error)
- func (a *SubscribeMessage) GetTemplateList() (interface{}, error)
- func (a *SubscribeMessage) Init(app utils.App) *SubscribeMessage
- func (a *SubscribeMessage) Send(body []byte) (interface{}, error)
- type Template
- type TemplateMessage
- func (a *TemplateMessage) AddTemplate(body []byte) (interface{}, error)
- func (a *TemplateMessage) DeleteTemplate(body []byte) (interface{}, error)
- func (a *TemplateMessage) GetTemplateLibraryById(body []byte) (interface{}, error)
- func (a *TemplateMessage) GetTemplateLibraryList(body []byte) (interface{}, error)
- func (a *TemplateMessage) GetTemplateList(body []byte) (interface{}, error)
- func (a *TemplateMessage) Init(app utils.App) *TemplateMessage
- func (a *TemplateMessage) Send(body []byte) (interface{}, error)
- type Text
- type TextResponse
- type UniformMessage
- type UpdatableMessage
- type UrlLink
- type UrlScheme
- type User
- type WxBizDataCrypt
- type Wxacode
Constants ¶
This section is empty.
Variables ¶
var AdEntity = Ad{}
var AuthEntity = Auth{}
var CloudbaseEntity = Cloudbase{}
var CustomerServiceMessageEntity = CustomerServiceMessage{}
var DataAnalysisEntity = DataAnalysis{}
var DecodedDataEntity = DecodedData{}
var ImgEntity = Img{}
var LivebroadcastEntity = Livebroadcast{}
var NearbyPoiEntity = NearbyPoi{}
var OcrEntity = Ocr{}
var OperationEntity = Operation{}
var PhoneNumberEntity = PhoneNumber{}
var PluginManagementEntity = PluginManagement{}
var SafetyControlCapabilityEntity = SafetyControlCapability{}
var SearchEntity = Search{}
var SecCheckEntity = SecCheck{}
var ServiceMarketEntity = ServiceMarket{}
var SoterEntity = Soter{}
var SubscribeMessageEntity = SubscribeMessage{}
var TemplateMessageEntity = TemplateMessage{}
var UniformMessageEntity = UniformMessage{}
var UpdatableMessageEntity = UpdatableMessage{}
var UrlLinkEntity = UrlLink{}
var UrlSchemeEntity = UrlScheme{}
var WxacodeEntity = Wxacode{}
Functions ¶
func PKCS7UnPadding ¶
PKCS7UnPadding return unpadding []Byte plantText
Types ¶
type Acode ¶
type Acode struct { Scene string `json:"scene,omitempty"` Page string `json:"page,omitempty"` Width int `json:"width,omitempty"` AutoColor bool `json:"auto_color,omitempty"` LineColor interface{} `json:"line_color,omitempty"` IsHyaline bool `json:"is_hyaline,omitempty"` }
line_color Object {"r":0,"g":0,"b":0}
type Auth ¶
func (*Auth) Code2Session ¶
Code2Session 登录凭证校验。通过 wx.login 接口获得临时登录凭证 code 后传到开发者服务器调用此接口完成登录流程。更多使用方法详见 小程序登录。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/login/auth.code2Session.html
func (*Auth) GetPaidUnionId ¶
getPaidUnionId 用户支付完成后,获取该用户的 UnionId,无需用户授权。本接口支持第三方平台代理查询。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/user-info/auth.getPaidUnionId.html
type CheckMedia ¶
type Cloudbase ¶
func (*Cloudbase) AddDelayedFunctionTask ¶
AddDelayedFunctionTask 延时调用云函数 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.addDelayedFunctionTask.html
func (*Cloudbase) CreatePressureTest ¶
CreatePressureTest 创建压测任务 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.createPressureTest.html
func (*Cloudbase) CreateSendSmsTask ¶
CreateSendSmsTask 创建发短信任务。发送的短信支持打开云开发静态网站 H5,进而在 H5 里可以打开小程序。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.createSendSmsTask.html
func (*Cloudbase) DescribeExtensionUploadInfo ¶
DescribeExtensionUploadInfo 描述扩展上传文件信息 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.describeExtensionUploadInfo.html
func (*Cloudbase) DescribeSmsRecords ¶
DescribeSmsRecords 查询 2 个月内的短信记录 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.describeSmsRecords.html
func (*Cloudbase) GetOpenData ¶
GetOpenData 换取 cloudID 对应的开放数据 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.getOpenData.html
func (*Cloudbase) GetPressureTestReport ¶
GetPressureTestReport 获取压测报告 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.getPressureTestReport.html
func (*Cloudbase) GetPressureTestStatus ¶
GetPressureTestStatus 获取压测状态 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.getPressureTestStatus.html
func (*Cloudbase) GetStatistics ¶
GetStatistics 获取云开发数据接口 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.getStatistics.html
func (*Cloudbase) GetVoIPSign ¶
GetVoIPSign 获取实时语音签名 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.getVoIPSign.html
func (*Cloudbase) Report ¶
Report 云开发通用上报接口 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.report.html
func (*Cloudbase) SendSms ¶
SendSms 发送支持打开云开发静态网站的短信,该 H5 可以打开小程序。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/cloudbase/cloudbase.sendSms.html
type CustomerServiceMessage ¶
func (*CustomerServiceMessage) GetTempMedia ¶
func (a *CustomerServiceMessage) GetTempMedia(mediaId string) (interface{}, error)
GetTempMedia 获取客服消息内的临时素材。即下载临时的多媒体文件。目前小程序仅支持下载图片文件。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/customer-message/customerServiceMessage.getTempMedia.html
func (*CustomerServiceMessage) Init ¶
func (a *CustomerServiceMessage) Init(app utils.App) *CustomerServiceMessage
func (*CustomerServiceMessage) Send ¶
func (a *CustomerServiceMessage) Send(body []byte) (interface{}, error)
Send 发送客服消息给用户。详细规则见 发送客服消息 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/customer-message/customerServiceMessage.send.html
func (*CustomerServiceMessage) SetTyping ¶
func (a *CustomerServiceMessage) SetTyping(openid, command string) (Response, error)
SetTyping 下发客服当前输入状态给用户。详见 客服消息输入状态 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/customer-message/customerServiceMessage.setTyping.html
func (*CustomerServiceMessage) UploadTempMedia ¶
func (a *CustomerServiceMessage) UploadTempMedia(uri string) (string, error)
UploadTempMedia 把媒体文件上传到微信服务器。目前仅支持图片。用于发送客服消息或被动回复用户消息。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/customer-message/customerServiceMessage.uploadTempMedia.html
type DataAnalysis ¶
func (*DataAnalysis) GetDailySummary ¶
func (a *DataAnalysis) GetDailySummary(body []byte) (interface{}, error)
GetDailySummary 获取用户访问小程序数据概况 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/analysis.getDailySummary.html
func (*DataAnalysis) GetPerformanceData ¶
func (a *DataAnalysis) GetPerformanceData(body []byte) (interface{}, error)
GetPerformanceData http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/analysis.getPerformanceData.html
func (*DataAnalysis) GetUserPortrait ¶
func (a *DataAnalysis) GetUserPortrait(body []byte) (interface{}, error)
GetUserPortrait http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/analysis.getUserPortrait.html
func (*DataAnalysis) GetVisitDistribution ¶
func (a *DataAnalysis) GetVisitDistribution(body []byte) (interface{}, error)
GetVisitDistribution 获取用户小程序访问分布数据 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/analysis.getVisitDistribution.html
func (*DataAnalysis) GetVisitPage ¶
func (a *DataAnalysis) GetVisitPage(body []byte) (interface{}, error)
GetVisitPage http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/analysis.getVisitPage.html
func (*DataAnalysis) Init ¶
func (a *DataAnalysis) Init(app utils.App) *DataAnalysis
type DecodedData ¶
func (*DecodedData) DecodeCryptoData ¶
func (a *DecodedData) DecodeCryptoData(sessionKey, encryptedData, iv string) (interface{}, error)
DecodeCryptoData 解密数据
func (*DecodedData) Init ¶
func (a *DecodedData) Init(app utils.App) *DecodedData
type Img ¶
func (*Img) AiCrop ¶
AiCrop 本接口提供基于小程序的图片智能裁剪能力。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/img/img.aiCrop.html
func (*Img) AiCropBuffer ¶
AiCropBuffer 本接口提供基于小程序的图片智能裁剪能力。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/img/img.aiCrop.html
func (*Img) ScanQRCode ¶
ScanQRCode 本接口提供基于小程序的条码/二维码识别的API。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/img/img.scanQRCode.html
func (*Img) ScanQRCodeBuffer ¶
ScanQRCode 本接口提供基于小程序的条码/二维码识别的API。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/img/img.scanQRCode.html
func (*Img) Superresolution ¶
Superresolution 本接口提供基于小程序的图片高清化能力。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/img/img.superresolution.html
func (*Img) SuperresolutionBuffer ¶
Superresolution 本接口提供基于小程序的图片高清化能力。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/img/img.superresolution.html
type Livebroadcast ¶
func (*Livebroadcast) Init ¶
func (a *Livebroadcast) Init(app utils.App) *Livebroadcast
type NearbyPoi ¶
func (*NearbyPoi) Add ¶
Add 添加地点 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/nearby-poi/nearbyPoi.add.html
func (*NearbyPoi) Delete ¶
Delete 删除地点 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/nearby-poi/nearbyPoi.delete.html
func (*NearbyPoi) GetList ¶
GetList 查看地点列表 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/nearby-poi/nearbyPoi.getList.html
func (*NearbyPoi) SetShowStatus ¶
SetShowStatus http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/nearby-poi/nearbyPoi.setShowStatus.html
type Ocr ¶
func (*Ocr) Bankcard ¶
Bankcard 本接口提供基于小程序的银行卡 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.bankcard.html
func (*Ocr) BankcardBuffer ¶
BankcardBuffer 本接口提供基于小程序的银行卡 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.bankcard.html
func (*Ocr) BusinessLicense ¶
BusinessLicense 本接口提供基于小程序的营业执照 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.businessLicense.html
func (*Ocr) BusinessLicenseBuffer ¶
func (a *Ocr) BusinessLicenseBuffer(file io.Reader, fileName string, imgUrl string) (interface{}, error)
BusinessLicenseBuffer 本接口提供基于小程序的营业执照 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.businessLicense.html
func (*Ocr) DriverLicense ¶
DriverLicense 本接口提供基于小程序的驾驶证 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.driverLicense.html
func (*Ocr) DriverLicenseBuffer ¶
func (a *Ocr) DriverLicenseBuffer(file io.Reader, fileName string, imgUrl string) (interface{}, error)
DriverLicenseBuffer 本接口提供基于小程序的驾驶证 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.driverLicense.html
func (*Ocr) Idcard ¶
Idcard 本接口提供基于小程序的身份证 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.idcard.html
func (*Ocr) IdcardBuffer ¶
IdcardBuffer 本接口提供基于小程序的身份证 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.idcard.html
func (*Ocr) PrintedText ¶
PrintedText 本接口提供基于小程序的通用印刷体 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.printedText.html
func (*Ocr) PrintedTextBuffer ¶
func (a *Ocr) PrintedTextBuffer(file io.Reader, fileName string, imgUrl string) (interface{}, error)
PrintedTextBuffer 本接口提供基于小程序的通用印刷体 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.printedText.html
func (*Ocr) VehicleLicense ¶
VehicleLicense 本接口提供基于小程序的行驶证 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.vehicleLicense.html
func (*Ocr) VehicleLicenseBuffer ¶
func (a *Ocr) VehicleLicenseBuffer(file io.Reader, fileName string, imgUrl string) (interface{}, error)
VehicleLicenseBuffer 本接口提供基于小程序的行驶证 OCR 识别 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/ocr/ocr.vehicleLicense.html
type Operation ¶
func (*Operation) GetDomainInfo ¶
GetDomainInfo 查询域名配置 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getDomainInfo.html
func (*Operation) GetFeedback ¶
GetFeedback 获取用户反馈列表 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getFeedback.html
func (*Operation) GetFeedbackmedia ¶
GetFeedbackmedia http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getFeedbackmedia.html
func (*Operation) GetJsErrDetail ¶
GetJsErrDetail 错误查询详情 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getJsErrDetail.html
func (*Operation) GetJsErrList ¶
GetJsErrList 错误查询列表 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getJsErrList.html
func (*Operation) GetJsErrSearch ¶
GetJsErrSearch http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getJsErrSearch.html
func (*Operation) GetPerformance ¶
GetPerformance 性能监控 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getPerformance.html
func (*Operation) GetSceneList ¶
GetSceneList 获取访问来源 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getSceneList.html
func (*Operation) GetVersionList ¶
GetVersionList 获取客户端版本 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.getVersionList.html
func (*Operation) RealtimelogSearch ¶
RealtimelogSearch 实时日志查询 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/operation/operation.realtimelogSearch.html
type PhoneNumber ¶ added in v1.2.1
func (*PhoneNumber) GetPhoneNumber ¶ added in v1.2.1
func (a *PhoneNumber) GetPhoneNumber(body []byte) (interface{}, error)
GetPhoneNumber https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/phonenumber/phonenumber.getPhoneNumber.html
func (*PhoneNumber) Init ¶ added in v1.2.1
func (a *PhoneNumber) Init(app utils.App) *PhoneNumber
type PluginManagement ¶
func (*PluginManagement) ApplyPlugin ¶
func (a *PluginManagement) ApplyPlugin(body []byte) (interface{}, error)
ApplyPlugin 向插件开发者发起使用插件的申请 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/plugin-management/pluginManager.applyPlugin.html
func (*PluginManagement) GetPluginDevApplyList ¶
func (a *PluginManagement) GetPluginDevApplyList(body []byte) (interface{}, error)
GetPluginDevApplyList http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/plugin-management/pluginManager.getPluginDevApplyList.html
func (*PluginManagement) GetPluginList ¶
func (a *PluginManagement) GetPluginList(body []byte) (interface{}, error)
GetPluginList 查询已添加的插件 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/plugin-management/pluginManager.getPluginList.html
func (*PluginManagement) Init ¶
func (a *PluginManagement) Init(app utils.App) *PluginManagement
func (*PluginManagement) SetDevPluginApplyStatus ¶
func (a *PluginManagement) SetDevPluginApplyStatus(body []byte) (interface{}, error)
SetDevPluginApplyStatus 或 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/plugin-management/pluginManager.setDevPluginApplyStatus.html
func (*PluginManagement) UnbindPlugin ¶
func (a *PluginManagement) UnbindPlugin(body []byte) (interface{}, error)
UnbindPlugin 删除已添加的插件 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/plugin-management/pluginManager.unbindPlugin.html
type SafetyControlCapability ¶
func (*SafetyControlCapability) GetUserRiskRank ¶
func (a *SafetyControlCapability) GetUserRiskRank(body []byte) (interface{}, error)
GetUserRiskRank 根据提交的用户信息数据获取用户的安全等级 risk_rank,无需用户授权。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/safety-control-capability/riskControl.getUserRiskRank.html
func (*SafetyControlCapability) Init ¶
func (a *SafetyControlCapability) Init(app utils.App) *SafetyControlCapability
type Search ¶
func (*Search) ImageSearch ¶
ImageSearch 本接口提供基于小程序的站内搜商品图片搜索能力 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/search/search.imageSearch.html
func (*Search) SiteSearch ¶
SiteSearch 小程序内部搜索API提供针对页面的查询能力,小程序开发者输入搜索词后,将返回自身小程序和搜索词相关的页面。因此,利用该接口,开发者可以查看指定内容的页面被微信平台的收录情况;同时,该接口也可供开发者在小程序内应用,给小程序用户提供搜索能力。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/search/search.siteSearch.html
func (*Search) SubmitPages ¶
SubmitPages 小程序开发者可以通过本接口提交小程序页面url及参数信息(不要推送webview页面),让微信可以更及时的收录到小程序的页面信息,开发者提交的页面信息将可能被用于小程序搜索结果展示。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/search/search.submitPages.html
type SecCheck ¶
func (*SecCheck) ImgSecCheck ¶
ImgSecCheck 校验一张图片是否含有违法违规内容。详见内容安全解决方案 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/sec-check/security.imgSecCheck.html
func (*SecCheck) MediaCheckAsync ¶
MediaCheckAsync 异步校验图片/音频是否含有违法违规内容。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/sec-check/security.mediaCheckAsync.html
func (*SecCheck) MsgSecCheck ¶
MsgSecCheck 检查一段文本是否含有违法违规内容。 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/sec-check/security.msgSecCheck.html
type ServiceMarket ¶
func (*ServiceMarket) Init ¶
func (a *ServiceMarket) Init(app utils.App) *ServiceMarket
func (*ServiceMarket) InvokeService ¶
func (a *ServiceMarket) InvokeService(body []byte) (interface{}, error)
InvokeService 调用服务平台提供的服务 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/service-market/serviceMarket.invokeService.html
type Soter ¶
func (*Soter) VerifySignature ¶
VerifySignature 生物认证秘钥签名验证 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/soter/soter.verifySignature.html
type SubscribeAdd ¶
type SubscribeMessage ¶
func (*SubscribeMessage) AddTemplate ¶
func (a *SubscribeMessage) AddTemplate(body []byte) (interface{}, error)
AddTemplate 组合模板并添加至帐号下的个人模板库 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.addTemplate.html
func (*SubscribeMessage) DeleteTemplate ¶
func (a *SubscribeMessage) DeleteTemplate(body []byte) (interface{}, error)
DeleteTemplate 删除帐号下的个人模板 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.deleteTemplate.html
func (*SubscribeMessage) GetCategory ¶
func (a *SubscribeMessage) GetCategory() (interface{}, error)
GetCategory 获取小程序账号的类目 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.getCategory.html
func (*SubscribeMessage) GetPubTemplateKeyWordsById ¶
func (a *SubscribeMessage) GetPubTemplateKeyWordsById(tid string) (interface{}, error)
GetPubTemplateKeyWordsById 获取模板标题下的关键词列表 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.getPubTemplateKeyWordsById.html
func (*SubscribeMessage) GetPubTemplateTitleList ¶
func (a *SubscribeMessage) GetPubTemplateTitleList(ids string, start, limit int) (interface{}, error)
GetPubTemplateTitleList 获取帐号所属类目下的公共模板标题 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.getPubTemplateTitleList.html
func (*SubscribeMessage) GetTemplateList ¶
func (a *SubscribeMessage) GetTemplateList() (interface{}, error)
GetTemplateList 获取当前帐号下的个人模板列表 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/subscribe-message/subscribeMessage.getTemplateList.html
func (*SubscribeMessage) Init ¶
func (a *SubscribeMessage) Init(app utils.App) *SubscribeMessage
func (*SubscribeMessage) Send ¶
func (a *SubscribeMessage) Send(body []byte) (interface{}, error)
type TemplateMessage ¶
func (*TemplateMessage) AddTemplate ¶
func (a *TemplateMessage) AddTemplate(body []byte) (interface{}, error)
func (*TemplateMessage) DeleteTemplate ¶
func (a *TemplateMessage) DeleteTemplate(body []byte) (interface{}, error)
DeleteTemplate http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/template-message/templateMessage.deleteTemplate.html
func (*TemplateMessage) GetTemplateLibraryById ¶
func (a *TemplateMessage) GetTemplateLibraryById(body []byte) (interface{}, error)
GetTemplateLibraryById http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/template-message/templateMessage.getTemplateLibraryById.html
func (*TemplateMessage) GetTemplateLibraryList ¶
func (a *TemplateMessage) GetTemplateLibraryList(body []byte) (interface{}, error)
GetTemplateLibraryList http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/template-message/templateMessage.getTemplateLibraryList.html
func (*TemplateMessage) GetTemplateList ¶
func (a *TemplateMessage) GetTemplateList(body []byte) (interface{}, error)
GetTemplateList http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/template-message/templateMessage.getTemplateList.html
func (*TemplateMessage) Init ¶
func (a *TemplateMessage) Init(app utils.App) *TemplateMessage
func (*TemplateMessage) Send ¶
func (a *TemplateMessage) Send(body []byte) (interface{}, error)
type TextResponse ¶
type UniformMessage ¶
func (*UniformMessage) Init ¶
func (a *UniformMessage) Init(app utils.App) *UniformMessage
func (*UniformMessage) Send ¶
func (a *UniformMessage) Send(body []byte) (interface{}, error)
Send 下发小程序和公众号统一的服务消息 http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/uniform-message/uniformMessage.send.html
type UpdatableMessage ¶
func (*UpdatableMessage) CreateActivityId ¶
func (a *UpdatableMessage) CreateActivityId(body []byte) (interface{}, error)
CreateActivityId http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/updatable-message/updatableMessage.createActivityId.html
func (*UpdatableMessage) Init ¶
func (a *UpdatableMessage) Init(app utils.App) *UpdatableMessage
func (*UpdatableMessage) SetUpdatableMsg ¶
func (a *UpdatableMessage) SetUpdatableMsg(body []byte) (interface{}, error)
SetUpdatableMsg http://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/updatable-message/updatableMessage.setUpdatableMsg.html
type UrlLink ¶
func (*UrlLink) Generate ¶
Generate 获取小程序 URL Link,适用于短信、邮件、网页、微信内等拉起小程序的业务场景。通过该接口,可以选择生成到期失效和永久有效的小程序链接,目前仅针对国内非个人主体的小程序开放,详见获取 URL Link。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-link/urllink.generate.html
type UrlScheme ¶
func (*UrlScheme) Generate ¶
Generate 获取小程序 scheme 码,适用于短信、邮件、外部网页、微信内等拉起小程序的业务场景。通过该接口,可以选择生成到期失效和永久有效的小程序码,目前仅针对国内非个人主体的小程序开放,详见获取 URL scheme。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/url-scheme/UrlScheme.generate.html
type WxBizDataCrypt ¶
WxBizDataCrypt represents an active WxBizDataCrypt object
type Wxacode ¶
func (*Wxacode) CreateQRCode ¶
CreateQRCode 获取小程序二维码,适用于需要的码数量较少的业务场景。通过该接口生成的小程序码,永久有效,有数量限制,详见获取二维码。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.createQRCode.html
func (*Wxacode) Get ¶
Get 获取小程序码,适用于需要的码数量较少的业务场景。通过该接口生成的小程序码,永久有效,有数量限制,详见获取二维码。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.get.html
func (*Wxacode) GetUnlimited ¶
GetUnlimited 获取小程序码,适用于需要的码数量极多的业务场景。通过该接口生成的小程序码,永久有效,数量暂无限制。 更多用法详见 获取二维码。 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/qr-code/wxacode.getUnlimited.html
Source Files ¶
- ad.go
- auth.go
- bizdatacrypt.go
- cloudbase.go
- customerServiceMessage.go
- dataAnalysis.go
- decodedData.go
- define.go
- img.go
- immediateDelivery.go
- liveBroadcast.go
- logistics.go
- nearbyPoi.go
- ocr.go
- operation.go
- phone.go
- pluginManager.go
- safetyControlCapability.go
- search.go
- secCheck.go
- security.go
- serviceMarket.go
- soter.go
- subscribeMessage.go
- templateMessage.go
- uniformMessage.go
- updatableMessage.go
- urllink.go
- urlscheme.go
- wxacode.go