alipay

package
v0.0.0-...-3faa710 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: BSD-3-Clause Imports: 24 Imported by: 0

README

介绍

  • auth:授权
  • fund:资金
  • life:生活号
  • market:店铺
  • material:物料
  • trade:支付

Documentation

Overview

*

  • Created by GoLand.
  • User: 姜伟
  • Date: 2019/12/27 0027
  • Time: 19:48

*

  • Created by GoLand.
  • User: 姜伟
  • Date: 2019/12/27 0027
  • Time: 19:50

*

  • Created by GoLand.
  • User: 姜伟
  • Date: 2020/1/19 0019
  • Time: 9:32

*

  • Created by GoLand.
  • User: 姜伟
  • Date: 2019/12/27 0027
  • Time: 19:48

Index

Constants

View Source
const (
	UrlGateWay = "https://openapi.alipay.com/gateway.do"

	FundCurrencyAUD = "AUD"
	FundCurrencyNZD = "NZD"
	FundCurrencyTWD = "TWD"
	FundCurrencyUSD = "USD"
	FundCurrencyEUR = "EUR"
	FundCurrencyGBP = "GBP"
	FundCurrencyCNY = "CNY"
)

Variables

View Source
var (
	FundCurrencyList map[string]string
)

Functions

func LoadConfig

func LoadConfig(outer IAliPayConfig)

func LoadUtil

func LoadUtil(outer IAliPayOuter)

func NewConfig

func NewConfig() *configAliPay

func NewConfigAccount

func NewConfigAccount() *configAccount

func NewUtil

func NewUtil() *utilAliPay

Types

type BaseAliPay

type BaseAliPay struct {
	api.APIOuter

	BizContent map[string]interface{} // 业务请求参数集合
	// contains filtered or unexported fields
}

func NewBase

func NewBase(appId string) BaseAliPay

func (*BaseAliPay) GetRequest

func (ap *BaseAliPay) GetRequest() (*fasthttp.Client, *fasthttp.Request)

func (*BaseAliPay) GetRespTag

func (ap *BaseAliPay) GetRespTag() string

func (*BaseAliPay) SetMethod

func (ap *BaseAliPay) SetMethod(method string)

func (*BaseAliPay) SetUrlNotify

func (ap *BaseAliPay) SetUrlNotify(notifyFlag bool)

func (*BaseAliPay) SetUrlReturn

func (ap *BaseAliPay) SetUrlReturn(urlReturn string)

type IAliPayBase

type IAliPayBase interface {
	api.IAPIOuter
	GetRespTag() string
}

type IAliPayConfig

type IAliPayConfig interface {
	RefreshConfigAccount(appId string) *configAccount // 刷新账号配置
}

type IAliPayOuter

type IAliPayOuter interface {
}

Directories

Path Synopsis
* * Created by GoLand.
* * Created by GoLand.
fund
auth
* * Created by GoLand.
* * Created by GoLand.
trans
* * Created by GoLand.
* * Created by GoLand.
* * Created by GoLand.
* * Created by GoLand.
advert
* * Created by GoLand.
* * Created by GoLand.
group
* * Created by GoLand.
* * Created by GoLand.
menu
* * Created by GoLand.
* * Created by GoLand.
message
* * Created by GoLand.
* * Created by GoLand.
* * Created by GoLand.
* * Created by GoLand.
* * Created by GoLand.
* * Created by GoLand.
* * Created by GoLand.
* * Created by GoLand.

Jump to

Keyboard shortcuts

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