model

package
v0.0.0-...-1bfa26d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2018 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliConfig

type AliConfig struct {
	MchPrivatekey string `json:"mch_privatekey"`
	AliPublickey  string `json:"ali_publickey"`
	AppId         string `json:"app_id"`
	ProviderId    string `json:"provider_id"`
	NotifyUrl     string `json:"notify_url"`
}

type AllPayConfig

type AllPayConfig struct {
	WxPay  WxConfig
	AliPay AliConfig
	Db     DbConfig
}
var ApConfig *AllPayConfig

type DbConfig

type DbConfig struct {
	Dbpath   string `json:"dbpath"`
	Sqldebug bool   `json:"sqldebug"`
}

type TWapPayModel

type TWapPayModel struct {
}
var Wap TWapPayModel

func (*TWapPayModel) GetMchParams

func (t *TWapPayModel) GetMchParams(mid string, paytype int) (map[string]string, error)

type WxConfig

type WxConfig struct {
	Apikey         string `json:"apikey"`
	Appid          string `json:"appid"`
	MpSecret       string `json:"mp_secret"`
	MchId          string `json:"mch_id"`
	Certfilepath   string `json:"certfilepath"`
	NotifyUrl      string `json:"notify_url"`
	SandBoxSignkey string `json:"sand_box_signkey"`
}

Jump to

Keyboard shortcuts

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