fix:订单优化
This commit is contained in:
@@ -4,7 +4,7 @@ import "fusenapi/constants"
|
||||
|
||||
type Config struct {
|
||||
// stripe支付
|
||||
Stripe Stripe
|
||||
Stripe Stripe `json:"stripe"`
|
||||
}
|
||||
|
||||
// NewPayDriver 实例化方法
|
||||
|
||||
@@ -107,8 +107,8 @@ func (stripePay *Stripe) GeneratePrepayment(req *GeneratePrepaymentReq) (res *Ge
|
||||
}
|
||||
|
||||
type resultPayment struct {
|
||||
Url string
|
||||
SessionId string
|
||||
TradeNo string
|
||||
ClientSecret string
|
||||
Url string `json:"url"` // 生成预付款链接
|
||||
SessionId string `json:"session_id"`
|
||||
TradeNo string `json:"trade_no"`
|
||||
ClientSecret string `json:"client_secret"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user