js

package
v2.0.3-beta.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: Apache-2.0 Imports: 5 Imported by: 3

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 *context.Context) *Js

NewJs init

func (*Js) GetConfig

func (js *Js) GetConfig(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