tlpay
This commit is contained in:
26
business/partner/pay/tlpay/tlpay.go
Normal file
26
business/partner/pay/tlpay/tlpay.go
Normal file
@@ -0,0 +1,26 @@
|
||||
package tlpay
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-callback/business/jxutils/jxcontext"
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
)
|
||||
|
||||
type tlPayParam struct {
|
||||
CusID string `json:"cusID"` //商户号
|
||||
AppID string `json:"appID "` //应用ID
|
||||
TrxAmt int `json:"trxAmt"` //交易金额
|
||||
ReqSN string `json:"reqSN"` //商户交易单号
|
||||
PayType string `json:"payType"` //交易方式
|
||||
RandomStr string `json:"randomStr"` //随机字符串
|
||||
SignType string `json:"signType"` //签名方式
|
||||
Sign string `json:"sign"` //签名
|
||||
}
|
||||
type PayHandler struct {
|
||||
Ctx *jxcontext.Context
|
||||
PayType string `json:"payType"`
|
||||
Order *model.OrderPay
|
||||
TLPayParam *tlPayParam `json:"tlPayParam"`
|
||||
}
|
||||
type PayHandlerInterface struct {
|
||||
//CreatePay() (err error)
|
||||
}
|
||||
Reference in New Issue
Block a user