redpack

package
v0.0.0-...-2ec961a Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WxHongBao

type WxHongBao struct {
	AppId  string // 微信公众平台应用ID
	MchId  string // 微信支付商户平台商户号
	ApiKey string // 微信支付商户平台API密钥
	// 微信支付商户平台证书路径
	CertFile   string
	KeyFile    string
	RootcaFile string
	Wxuser     map[string]string
}

func NewWxHongBao

func NewWxHongBao(wxuserdata map[string]string) *WxHongBao

func (*WxHongBao) Send_Pay

func (this *WxHongBao) Send_Pay(data map[string]interface{}) bool

func (*WxHongBao) Send_Redpack

func (this *WxHongBao) Send_Redpack(data map[string]interface{}) bool

Jump to

Keyboard shortcuts

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