jssdk

package
v3.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 9 Imported by: 1

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, error)

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)

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(request *http.Request, accessToken string, isJson bool) (interface{}, error)

Jump to

Keyboard shortcuts

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