buy

package
v0.0.0-...-41417f0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Calculate

func Calculate(c *gin.Context)

func Create

func Create(c *gin.Context)

*

  • 创建订单

func Pay

func Pay(c *gin.Context)

Pay 订单支付接口

func WechatMiniNotify

func WechatMiniNotify(c *gin.Context)

Types

type WechatPayConfig

type WechatPayConfig struct {
	AppID          string `json:"app_id"`
	AppSecret      string `json:"app_secret"`
	MiniAppID      string `json:"mini_app_id"`
	MiniAppSecret  string `json:"mini_app_secret"`
	APPID          string `json:"appid"`
	MchID          string `json:"mch_id"`
	Key            string `json:"key"`
	ApiclientCert  string `json:"apiclient_cert"`
	ApiclientKey   string `json:"apiclient_key"`
	CallbackDomain string `json:"callback_domain"`
}

Jump to

Keyboard shortcuts

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