miniapp

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Appid  string
	Secret string
	Token  *utils.Token
	Verify bool        //检查Appid和Secret 是否是错的
	Write  utils.Write //读
	Read   utils.Read  //写
}

func New

func New(app *App) *App

New 新建wechat Hook 处理accesstoken的逻辑

func (*App) Auth

func (a *App) Auth() *module.Auth

Auth 用户

func (*App) Cloudbase

func (a *App) Cloudbase() *module.Cloudbase

Cloudbase 云开发

func (*App) Custom

func (a *App) Custom() *module.Custom

Custom 自定义

func (*App) CustomerServiceMessage

func (a *App) CustomerServiceMessage() *module.CustomerServiceMessage

CustomerServiceMessage 客服消息

func (*App) DataAnalysis

func (a *App) DataAnalysis() *module.DataAnalysis

DataAnalysis 数据分析

func (*App) DecodedData

func (a *App) DecodedData() *module.DecodedData

DecodedData 解密数据

func (*App) GetAccessToken

func (a *App) GetAccessToken(reflush ...bool) *utils.Token

GetAccessToken 获取accessToken 不建议暴露使用

func (*App) GetAccessTokenSafety

func (a *App) GetAccessTokenSafety(reflush bool) string

GetAccessTokenSafety 获取公开的accessToken

func (*App) GetAccessTokenWithHook

func (a *App) GetAccessTokenWithHook(reflush ...bool) *utils.Token

GetAccessTokenWithHook 获取accessToken 不建议暴露使用

func (*App) GetConfig

func (a *App) GetConfig() utils.Config

func (*App) Img

func (a *App) Img() *module.Img

Img 图像处理

func (*App) NearbyPoi

func (a *App) NearbyPoi() *module.NearbyPoi

NearbyPoi 附近的小程序

func (*App) Ocr

func (a *App) Ocr() *module.Ocr

Ocr ocr

func (*App) Operation

func (a *App) Operation() *module.Operation

Operation 运维中心

func (*App) PhoneNumber

func (a *App) PhoneNumber() *module.PhoneNumber

PhoneNumber 手机号

func (*App) SafetyControlCapability

func (a *App) SafetyControlCapability() *module.SafetyControlCapability

SafetyControlCapability 安全风控

func (*App) Search

func (a *App) Search() *module.Search

Search 小程序搜索

func (*App) ServiceMarket

func (a *App) ServiceMarket() *module.ServiceMarket

ServiceMarket 服务市场

func (*App) Soter

func (a *App) Soter() *module.Soter

Soter 生物认证

func (*App) SubscribeMessage

func (a *App) SubscribeMessage() *module.SubscribeMessage

SubscribeMessage 订阅消息

func (a *App) UrlLink() *module.UrlLink

UrlLink url link

func (*App) UrlScheme

func (a *App) UrlScheme() *module.UrlScheme

UrlScheme scheme

func (*App) Wxacode

func (a *App) Wxacode() *module.Wxacode

Wxacode 小程序码

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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