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 NewConfigAccount ¶
func NewConfigAccount() *configAccount
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 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. |
Click to show internal directories.
Click to hide internal directories.