Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Js ¶
type Js struct { *context2.Context credential.JsTicketHandle }
Js wx jssdk
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取值方式
Click to show internal directories.
Click to hide internal directories.