qqminiprogram

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

README

微信小程序

官方文档

包说明

  • analysis 数据分析相关API

快速入门

wc := wechat.NewWechat()
memory := cache.NewMemory()
cfg := &miniConfig.Config{
    AppID:     "xxx",
    AppSecret: "xxx",
    Cache: memory,
}
miniprogram := wc.GetMiniProgram(cfg)
miniprogram.GetAnalysis().GetAnalysisDailyRetain()

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QQMiniProgram

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

QQMiniProgram 微信小程序相关API

func NewQQMiniProgram

func NewQQMiniProgram(cfg *config.Config) *QQMiniProgram

NewQQMiniProgram 实例化小程序API

func (*QQMiniProgram) GetAnalysis

func (miniProgram *QQMiniProgram) GetAnalysis() *analysis.Analysis

GetAnalysis 数据分析

func (*QQMiniProgram) GetAuth

func (miniProgram *QQMiniProgram) GetAuth() *auth.Auth

GetAuth 登录/用户信息相关接口

func (*QQMiniProgram) GetContentSecurity

func (miniProgram *QQMiniProgram) GetContentSecurity() *content.Content

GetContentSecurity 内容安全接口

func (*QQMiniProgram) GetContext

func (miniProgram *QQMiniProgram) GetContext() *context.Context

GetContext get Context

func (*QQMiniProgram) GetCustomerMessage

func (miniProgram *QQMiniProgram) GetCustomerMessage() *message.Manager

GetCustomerMessage 客服消息接口

func (*QQMiniProgram) GetEncryptor

func (miniProgram *QQMiniProgram) GetEncryptor() *encryptor.Encryptor

GetEncryptor 小程序加解密

func (*QQMiniProgram) GetQRCode

func (miniProgram *QQMiniProgram) GetQRCode() *qrcode.QRCode

GetQRCode 小程序码相关API

func (miniProgram *QQMiniProgram) GetShortLink() *shortlink.ShortLink

GetShortLink 小程序短链接口

func (*QQMiniProgram) GetSubscribe

func (miniProgram *QQMiniProgram) GetSubscribe() *subscribe.Subscribe

GetSubscribe 小程序订阅消息

func (*QQMiniProgram) GetTcb

func (miniProgram *QQMiniProgram) GetTcb() *tcb.Tcb

GetTcb 小程序云开发API

func (miniProgram *QQMiniProgram) GetURLLink() *urllink.URLLink

GetURLLink 小程序URL Link接口

func (*QQMiniProgram) GetWeRun

func (miniProgram *QQMiniProgram) GetWeRun() *werun.WeRun

GetWeRun 微信运动接口

func (*QQMiniProgram) SetAccessTokenHandle

func (miniProgram *QQMiniProgram) SetAccessTokenHandle(accessTokenHandle credential.AccessTokenHandle)

SetAccessTokenHandle 自定义access_token获取方式

Directories

Path Synopsis
Package config 小程序config配置
Package config 小程序config配置

Jump to

Keyboard shortcuts

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