js

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Js

Js wx jssdk

func NewJs

func NewJs(context *context2.Context, appID string) *Js

NewJs init

func (*Js) GetConfig

func (js *Js) GetConfig(ctx context.Context, uri, appid string) (config *officialJs.Config, err error)

GetConfig 第三方平台 - 获取jssdk需要的配置参数 uri 为当前网页地址

func (*Js) SetJsTicketHandle

func (js *Js) SetJsTicketHandle(ticketHandle credential.JsTicketHandle)

SetJsTicketHandle 自定义js ticket取值方式

Jump to

Keyboard shortcuts

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