Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
commit
9403b72ad6
|
@ -339,10 +339,10 @@ type (
|
||||||
Proportion string `json:"proportion"`
|
Proportion string `json:"proportion"`
|
||||||
}
|
}
|
||||||
LogoStandardRes struct {
|
LogoStandardRes struct {
|
||||||
ResourceId string
|
ResourceId string `json:"resource_id"`
|
||||||
ResourceUrl string
|
ResourceUrl string `json:"resource_url"`
|
||||||
IsmaxProportion bool
|
IsmaxProportion bool `json:"ismax_proportion"`
|
||||||
ImgColor []string
|
ImgColor []string `json:"img_color"`
|
||||||
}
|
}
|
||||||
LogoStandardMetaData struct {
|
LogoStandardMetaData struct {
|
||||||
Param LogoStandardReq `json:"param"`
|
Param LogoStandardReq `json:"param"`
|
||||||
|
|
|
@ -22,17 +22,17 @@ type Upload struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type UploadBaseReq struct {
|
type UploadBaseReq struct {
|
||||||
ResourceId string
|
ResourceId string `json:"resource_id"`
|
||||||
Refresh int64
|
Refresh int64 `json:"refresh"`
|
||||||
Source string
|
Source string `json:"source"`
|
||||||
FileHash string
|
FileHash string `json:"file_hash"`
|
||||||
FileData string
|
FileData string `json:"file_data"`
|
||||||
Metadata string
|
Metadata string `json:"metadata"`
|
||||||
UploadBucket int64
|
UploadBucket int64 `json:"upload_bucket"`
|
||||||
ApiType int64
|
ApiType int64 `json:"api_type"`
|
||||||
UserId int64
|
UserId int64 `json:"user_id"`
|
||||||
GuestId int64
|
GuestId int64 `json:"guest_id"`
|
||||||
FileByte []byte
|
FileByte []byte `json:"file_byte"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UploadBaseRes struct {
|
type UploadBaseRes struct {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import "fusenapi/constants"
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
// stripe支付
|
// stripe支付
|
||||||
Stripe Stripe
|
Stripe Stripe `json:"stripe"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewPayDriver 实例化方法
|
// NewPayDriver 实例化方法
|
||||||
|
|
|
@ -107,8 +107,8 @@ func (stripePay *Stripe) GeneratePrepayment(req *GeneratePrepaymentReq) (res *Ge
|
||||||
}
|
}
|
||||||
|
|
||||||
type resultPayment struct {
|
type resultPayment struct {
|
||||||
Url string
|
Url string `json:"url"` // 生成预付款链接
|
||||||
SessionId string
|
SessionId string `json:"session_id"`
|
||||||
TradeNo string
|
TradeNo string `json:"trade_no"`
|
||||||
ClientSecret string
|
ClientSecret string `json:"client_secret"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user