fix:订单优化

This commit is contained in:
momo
2023-11-02 15:58:13 +08:00
parent 3366ed74f4
commit 6cea240822
4 changed files with 20 additions and 20 deletions

View File

@@ -4,7 +4,7 @@ import "fusenapi/constants"
type Config struct {
// stripe支付
Stripe Stripe
Stripe Stripe `json:"stripe"`
}
// NewPayDriver 实例化方法

View File

@@ -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"`
}