jssdk

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: May 26, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*jssdk.Client
}

func NewClient

func NewClient(app *kernel2.ApplicationInterface) *Client

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) *Client

func (*Client) AppConfig

func (comp *Client) AppConfig(prepayId string) (*object.StringMap, error)

func (*Client) BridgeConfig

func (comp *Client) BridgeConfig(prepayId string, isJson bool) (interface{}, error)

JSAPI调起支付API https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_4.shtml

func (*Client) ContractConfig

func (comp *Client) ContractConfig(params *object.StringMap) (*object.StringMap, error)

func (*Client) SDKConfig

func (comp *Client) SDKConfig(prepayId string) (*object.StringMap, error)

func (*Client) ShareAddressConfig

func (comp *Client) ShareAddressConfig(accessToken string, isJson bool) (interface{}, error)

Jump to

Keyboard shortcuts

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